public class UnexpectedException extends RuntimeException
RuntimeException
but subclasses
it just so that it can be caught if desired.Constructor and Description |
---|
UnexpectedException()
Constructs a new unexpected exception with null as its detail message.
|
UnexpectedException(String message)
Constructs a new unexpected exception with the specified detail message.
|
UnexpectedException(String message,
Throwable cause)
Constructs a new unexpected exception with the specified detail message and cause.
|
UnexpectedException(Throwable cause)
Constructs a new unexpected exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedException()
public UnexpectedException(String message)
message
- the String to explain the exception.public UnexpectedException(String message, Throwable cause)
message
- the String to explain the exception.cause
- the Throwable which caused this exception.public UnexpectedException(Throwable cause)
cause
- the Throwable which caused this exception.Copyright © 2004–2021 XWiki. All rights reserved.