Class OperationNotSupportedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OperationNotSupportedException
    extends CacheException
    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
      OperationNotSupportedException()
      Constructs an OperationFailedException with null as its error detail message.
      OperationNotSupportedException​(int errorCode, java.lang.String reason)
      Constructs a new OperationNotSupportedException with the specified errorCode and reason
      OperationNotSupportedException​(int errorCode, java.lang.String reason, java.lang.String stackTrace)
      Constructs a new OperationNotSupportedException with the specified errorCode and reason and stacktrace
      OperationNotSupportedException​(java.lang.String s)
      Constructs an OperationFailedException with the specified detail message.
      OperationNotSupportedException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new OperationNotSupportedException with the specified detail message and cause.
      OperationNotSupportedException​(java.lang.Throwable cause)
      Constructs a new OperationNotSupportedException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OperationNotSupportedException

        public OperationNotSupportedException()
        Constructs an OperationFailedException with null as its error detail message.
      • OperationNotSupportedException

        public OperationNotSupportedException​(java.lang.String s)
        Constructs an 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.
        Parameters:
        s - the detail message.
      • OperationNotSupportedException

        public OperationNotSupportedException​(int errorCode,
                                              java.lang.String reason)
        Constructs a new OperationNotSupportedException with the specified errorCode and reason
        Parameters:
        errorCode - assigned Error code
        reason - detail message
      • OperationNotSupportedException

        public OperationNotSupportedException​(java.lang.String message,
                                              java.lang.Throwable cause)
        Constructs a new OperationNotSupportedException with the specified detail message and cause.

        Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

        Parameters:
        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.)
        Since:
        1.4
      • OperationNotSupportedException

        public OperationNotSupportedException​(java.lang.Throwable cause)
        Constructs a new OperationNotSupportedException with the specified cause and a detail message of (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.
        Parameters:
        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.)
        Since:
        1.4
      • OperationNotSupportedException

        public OperationNotSupportedException​(int errorCode,
                                              java.lang.String reason,
                                              java.lang.String stackTrace)
        Constructs a new OperationNotSupportedException with the specified errorCode and reason and stacktrace
        Parameters:
        errorCode - assigned Error code
        reason - detail message
        stackTrace - stackTrace