public class RetrascopeException
extends java.lang.RuntimeException
RuntimeException
subclasses.Constructor and Description |
---|
RetrascopeException(java.lang.Exception exception)
Constructs an exception that incapsulates the specified one.
|
RetrascopeException(java.lang.String message)
Constructs an exception with the specified message.
|
RetrascopeException(java.lang.String message,
java.lang.Throwable cause)
Constructs an exception with the specified message and root exception.
|
Modifier and Type | Method and Description |
---|---|
static RetrascopeException |
exception(java.lang.Enum<?> prefix,
java.lang.Class clazz)
Creates an exception object with message starting from the specified prefix and giving
an information about the specified class.
|
static RetrascopeException |
exception(java.lang.Enum<?> prefix,
java.lang.Object object)
Creates an exception object with message containing the specified prefix and an information
about the specified object.
|
public RetrascopeException(java.lang.String message)
message
- the messagepublic RetrascopeException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the root exceptionpublic RetrascopeException(java.lang.Exception exception)
exception
- the exceptionpublic static RetrascopeException exception(java.lang.Enum<?> prefix, java.lang.Object object)
prefix
- Exception message prefix.object
- Object that's data are to be presented at the message.public static RetrascopeException exception(java.lang.Enum<?> prefix, java.lang.Class clazz)
prefix
- Exception message prefix.clazz
- Class that's data to be presented in the message.