Package org.junit.runners.model
Class InitializationError
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.junit.runners.model.InitializationError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidTestClassError
Represents one or more problems encountered while initializing a Runner
- Since:
- 4.5
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
-
Constructor Summary
ConstructorsConstructorDescriptionInitializationError
(String string) Construct a newInitializationError
with one cause with messagestring
InitializationError
(Throwable error) InitializationError
(List<Throwable> errors) Construct a newInitializationError
with one or more errorserrors
as causes -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
fErrors
-
-
Constructor Details
-
InitializationError
Construct a newInitializationError
with one or more errorserrors
as causes -
InitializationError
-
InitializationError
Construct a newInitializationError
with one cause with messagestring
-
-
Method Details
-
getCauses
Returns one or more Throwables that led to this initialization error.
-