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
public class UnexpectedException
- extends RuntimeException
Understands an exception thrown when an unexpected error occurs.
- Author:
- Alex Ruiz, Yvonne Wang
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnexpectedException
public UnexpectedException(Throwable cause)
- Creates a new
UnexpectedException
.
- Parameters:
cause
- the unexpected exception.
UnexpectedException
public UnexpectedException(String message,
Throwable cause)
- Creates a new
UnexpectedException
.
- Parameters:
message
- the detail message.cause
- the unexpected exception.
unexpected
public static UnexpectedException unexpected(Throwable cause)
- Returns a
UnexpectedException
.
- Parameters:
cause
- the unexpected exception.
- Returns:
- the created exception.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.