org.junit.runners.model
Class InitializationError
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
- All Implemented Interfaces: 
- Serializable
- public class InitializationError 
- extends Exception
Represents one or more problems encountered while initializing a Runner
- Since:
- 4.5
- See Also:
- Serialized Form
 
| Method Summary | 
|  List<Throwable> | getCauses()Returns one or more Throwables that led to this initialization error.
 | 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
InitializationError
public InitializationError(List<Throwable> errors)
- Construct a new InitializationErrorwith one or more
 errorserrorsas causes
 
InitializationError
public InitializationError(Throwable error)
InitializationError
public InitializationError(String string)
- Construct a new InitializationErrorwith one cause
 with messagestring
 
getCauses
public List<Throwable> getCauses()
- Returns one or more Throwables that led to this initialization error.
 
- 
 
Copyright © 2002–2014 JUnit. All rights reserved.