public class RetrascopeRuntimeException
extends java.lang.RuntimeException
RuntimeException
subclasses.Constructor and Description |
---|
RetrascopeRuntimeException(java.lang.Exception exception)
Constructs an exception that incapsulates the specified one.
|
RetrascopeRuntimeException(java.lang.String message)
Constructs an exception with the specified message.
|
RetrascopeRuntimeException(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 RetrascopeRuntimeException |
makeException(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 RetrascopeRuntimeException(java.lang.String message)
message
- the messagepublic RetrascopeRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the root exceptionpublic RetrascopeRuntimeException(java.lang.Exception exception)
exception
- the exceptionpublic static RetrascopeRuntimeException makeException(java.lang.Enum<?> prefix, java.lang.Object object)
prefix
- Exception message prefix.object
- Object that's data are to be presented at the message.