Class InvalidReaderRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.alachisoft.ncache.runtime.exceptions.runtime.CacheRuntimeException
-
- com.alachisoft.ncache.runtime.exceptions.runtime.InvalidReaderRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidReaderRuntimeException extends CacheRuntimeException
Thrown whenever one of the data partition goes down.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidReaderRuntimeException()Constructs anOperationFailedExceptionwithnullas its error detail message.InvalidReaderRuntimeException(int errorCode, java.lang.String errorMessage)Constructs a new InvalidReaderRuntimeException with the specified errorCode and reasonInvalidReaderRuntimeException(int errorCode, java.lang.String reason, java.lang.String stackTrace)Constructs a new InvalidReaderRuntimeException with the specified errorCode and reason and stacktraceInvalidReaderRuntimeException(java.lang.String s)Constructs anOperationFailedExceptionwith the specified detail message.InvalidReaderRuntimeException(java.lang.String s, boolean isTracable)Initializes a new instance of the InvalidReaderRuntimeException classInvalidReaderRuntimeException(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 classInvalidReaderRuntimeException(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 ofcause).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetIsTracable()Returns the traceability of exception-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.runtime.CacheRuntimeException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException()
Constructs anOperationFailedExceptionwithnullas its error detail message.
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException(java.lang.String s)
Constructs anOperationFailedExceptionwith the specified detail message. The error message stringscan later be retrieved by themethod of classThrowable.getMessage()java.lang.Throwable.- Parameters:
s- the detail message.
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a new InvalidReaderRuntimeException with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this runtime exception's detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 1.4
-
InvalidReaderRuntimeException
public 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 ofcause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 1.4
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException(int errorCode, java.lang.String errorMessage)Constructs a new InvalidReaderRuntimeException with the specified errorCode and reason- Parameters:
errorCode- assigned Error codeerrorMessage- detail message
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException(java.lang.String s, boolean isTracable)Initializes a new instance of the InvalidReaderRuntimeException class- Parameters:
s- detail messageisTracable- either traceable or not
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException(java.lang.String message, java.lang.Throwable cause, boolean isTracable)Initializes a new instance of the InvalidReaderRuntimeException class- Parameters:
message- detail messagecause- The exception that is the cause of the current exceptionisTracable- either traceable or not
-
InvalidReaderRuntimeException
public InvalidReaderRuntimeException(int errorCode, java.lang.String reason, java.lang.String stackTrace)Constructs a new InvalidReaderRuntimeException with the specified errorCode and reason and stacktrace- Parameters:
errorCode- assigned Error codereason- detail messagestackTrace- stackTrace
-
-