Package org.fest.swing.exception
Class UnexpectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fest.swing.exception.UnexpectedException
- All Implemented Interfaces:
Serializable
Understands an exception thrown when an unexpected error occurs.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedException(String message, Throwable cause) Creates a newUnexpectedException.UnexpectedException(Throwable cause) Creates a newUnexpectedException. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnexpectedExceptionunexpected(Throwable cause) Returns aUnexpectedException.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:
-
-
Constructor Details
-
UnexpectedException
Creates a newUnexpectedException.- Parameters:
cause- the unexpected exception.
-
UnexpectedException
Creates a newUnexpectedException.- Parameters:
message- the detail message.cause- the unexpected exception.
-
-
Method Details
-
unexpected
Returns aUnexpectedException.- Parameters:
cause- the unexpected exception.- Returns:
- the created exception.
-