public class AggregateRuntimeException extends CacheRuntimeException
Constructor | Description |
---|---|
AggregateRuntimeException() |
Constructs an
OperationFailedException with null
as its error detail message. |
AggregateRuntimeException(int errorCode,
java.lang.String errorMessage) |
Initializes a new instance of the AggregateRuntimeException class
|
AggregateRuntimeException(int errorCode,
java.lang.String errorMessage,
java.lang.String stackTrace) |
Initializes a new instance of the AggregateRuntimeException class
|
AggregateRuntimeException(java.lang.String s) |
Constructs an
OperationFailedException with the specified detail
message. |
AggregateRuntimeException(java.lang.String s,
boolean isTracable) |
Initializes a new instance of the AggregateRuntimeException class
|
AggregateRuntimeException(java.lang.String message,
java.lang.Throwable cause) |
Initializes a new instance of the AggregateRuntimeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
|
AggregateRuntimeException(java.lang.String message,
java.lang.Throwable cause,
boolean isTracable) |
Initializes a new instance of the AggregateRuntimeException class
|
AggregateRuntimeException(java.lang.Throwable cause) |
Initializes a new instance of the AggregateRuntimeException class with references to the inner exceptions that are the cause of this exception.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
getIsTracable() |
Returns the traceability of exception
|
getErrorCode, printStackTrace, setErrorCode
public AggregateRuntimeException()
OperationFailedException
with null
as its error detail message.public AggregateRuntimeException(java.lang.String s)
OperationFailedException
with the specified detail
message. The error message string s
can later be
retrieved by the Throwable.getMessage()
method of class java.lang.Throwable
.s
- the detail message.public AggregateRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culturecause
- The exception that is the cause of the current exceptionpublic AggregateRuntimeException(java.lang.Throwable cause)
cause
- The exception that is the cause of the current exceptionpublic AggregateRuntimeException(int errorCode, java.lang.String errorMessage)
errorCode
- assigned errorcodeerrorMessage
- detail messagepublic AggregateRuntimeException(int errorCode, java.lang.String errorMessage, java.lang.String stackTrace)
errorCode
- assigned errorcodeerrorMessage
- detail error messagestackTrace
- stacktracepublic AggregateRuntimeException(java.lang.String s, boolean isTracable)
s
- detail messageisTracable
- either traceable or notpublic AggregateRuntimeException(java.lang.String message, java.lang.Throwable cause, boolean isTracable)
message
- detail messagecause
- The exception that is the cause of the current exceptionisTracable
- either traceable or not