public class UnexpectedException extends RuntimeException
Constructor and Description |
---|
UnexpectedException(String message,
Throwable cause)
Creates a new
UnexpectedException . |
UnexpectedException(Throwable cause)
Creates a new
UnexpectedException . |
Modifier and Type | Method and Description |
---|---|
static UnexpectedException |
unexpected(Throwable cause)
Returns a
UnexpectedException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedException(Throwable cause)
UnexpectedException
.cause
- the unexpected exception.public UnexpectedException(String message, Throwable cause)
UnexpectedException
.message
- the detail message.cause
- the unexpected exception.public static UnexpectedException unexpected(Throwable cause)
UnexpectedException
.cause
- the unexpected exception.Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.