public class InvalidReaderRuntimeException extends CacheRuntimeException
Constructor | Description |
---|---|
InvalidReaderRuntimeException() |
Constructs an
OperationFailedException with null
as its error detail message. |
InvalidReaderRuntimeException(int errorCode,
java.lang.String errorMessage) |
Constructs a new InvalidReaderRuntimeException with the specified errorCode and reason
|
InvalidReaderRuntimeException(int errorCode,
java.lang.String reason,
java.lang.String stackTrace) |
Constructs a new InvalidReaderRuntimeException with the specified errorCode and reason and stacktrace
|
InvalidReaderRuntimeException(java.lang.String s) |
Constructs an
OperationFailedException with the specified detail
message. |
InvalidReaderRuntimeException(java.lang.String s,
boolean isTracable) |
Initializes a new instance of the InvalidReaderRuntimeException class
|
InvalidReaderRuntimeException(java.lang.String message,
java.lang.Throwable cause) |
Constructs a new InvalidReaderRuntimeException with the specified detail message and
cause.
|
InvalidReaderRuntimeException(java.lang.String message,
java.lang.Throwable cause,
boolean isTracable) |
Initializes a new instance of the InvalidReaderRuntimeException class
|
InvalidReaderRuntimeException(java.lang.Throwable cause) |
Constructs a new InvalidReaderRuntimeException with the specified cause and a
detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause ). |
Modifier and Type | Method | Description |
---|---|---|
boolean |
getIsTracable() |
Returns the traceability of exception
|
getErrorCode, printStackTrace, setErrorCode
public InvalidReaderRuntimeException()
OperationFailedException
with null
as its error detail message.public InvalidReaderRuntimeException(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 InvalidReaderRuntimeException(java.lang.String message, java.lang.Throwable cause)
Note that the detail message associated with
cause
is not automatically incorporated in
this runtime exception's detail message.
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.)public InvalidReaderRuntimeException(java.lang.Throwable cause)
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
). This constructor is useful for runtime exceptions
that are little more than wrappers for other throwables.cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.)public InvalidReaderRuntimeException(int errorCode, java.lang.String errorMessage)
errorCode
- assigned Error codeerrorMessage
- detail messagepublic InvalidReaderRuntimeException(java.lang.String s, boolean isTracable)
s
- detail messageisTracable
- either traceable or notpublic InvalidReaderRuntimeException(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 notpublic InvalidReaderRuntimeException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
errorCode
- assigned Error codereason
- detail messagestackTrace
- stackTrace