Class OperationNotSupportedRuntimeException
- 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.OperationNotSupportedRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class OperationNotSupportedRuntimeException extends CacheRuntimeException
This exception is thrown when an operation is not supported in the current edition of NCache.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperationNotSupportedRuntimeException()Constructs anOperationFailedExceptionwithnullas its error detail message.OperationNotSupportedRuntimeException(int errorCode, java.lang.String errorMessage)Constructs a new OperationFailedRuntimeException with the specified errorCode and reasonOperationNotSupportedRuntimeException(int errorCode, java.lang.String reason, java.lang.String stackTrace)Constructs a new OperationFailedRuntimeException with the specified errorCode and reason and stacktraceOperationNotSupportedRuntimeException(java.lang.String s)Constructs anOperationFailedExceptionwith the specified detail message.OperationNotSupportedRuntimeException(java.lang.String s, boolean isTracable)Initializes a new instance of the OperationFailedRuntimeException classOperationNotSupportedRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a new OperationFailedRuntimeException with the specified detail message and cause.OperationNotSupportedRuntimeException(java.lang.String message, java.lang.Throwable cause, boolean isTracable)Initializes a new instance of the OperationFailedRuntimeException classOperationNotSupportedRuntimeException(java.lang.Throwable cause)Constructs a new OperationFailedRuntimeException 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
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException()
Constructs anOperationFailedExceptionwithnullas its error detail message.
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(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.
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a new OperationFailedRuntimeException 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
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(java.lang.Throwable cause)
Constructs a new OperationFailedRuntimeException 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
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(int errorCode, java.lang.String errorMessage)Constructs a new OperationFailedRuntimeException with the specified errorCode and reason- Parameters:
errorCode- assigned Error codeerrorMessage- detail message
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(java.lang.String s, boolean isTracable)Initializes a new instance of the OperationFailedRuntimeException class- Parameters:
s- detail messageisTracable- either traceable or not
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(java.lang.String message, java.lang.Throwable cause, boolean isTracable)Initializes a new instance of the OperationFailedRuntimeException class- Parameters:
message- detail messagecause- The exception that is the cause of the current exceptionisTracable- either traceable or not
-
OperationNotSupportedRuntimeException
public OperationNotSupportedRuntimeException(int errorCode, java.lang.String reason, java.lang.String stackTrace)Constructs a new OperationFailedRuntimeException with the specified errorCode and reason and stacktrace- Parameters:
errorCode- assigned Error codereason- detail messagestackTrace- stackTrace
-
-