Class LicensingRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LicensingRuntimeException
    extends CacheRuntimeException
    LicensingException is thrown when Either license has expired or some error occurred during the validation of license.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LicensingRuntimeException()
      Constructs an OperationFailedException with null as its error detail message.
      LicensingRuntimeException​(int errorCode, java.lang.String errorMessage)
      Constructs a new LicensingRuntimeException with the specified errorCode and reason
      LicensingRuntimeException​(int errorCode, java.lang.String reason, java.lang.String stackTrace)
      Constructs a new LicensingRuntimeException with the specified errorCode and reason and stacktrace
      LicensingRuntimeException​(java.lang.String s)
      Constructs an OperationFailedException with the specified detail message.
      LicensingRuntimeException​(java.lang.String s, boolean isTracable)
      Initializes a new instance of the LicensingRuntimeException class
      LicensingRuntimeException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new LicensingRuntimeException with the specified detail message and cause.
      LicensingRuntimeException​(java.lang.String message, java.lang.Throwable cause, boolean isTracable)
      Initializes a new instance of the LicensingRuntimeException class
      LicensingRuntimeException​(java.lang.Throwable cause)
      Constructs a new LicensingRuntimeException 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getIsTracable()
      Returns the traceability of exception
      • 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

      • LicensingRuntimeException

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

        public LicensingRuntimeException​(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.
      • LicensingRuntimeException

        public LicensingRuntimeException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Constructs a new LicensingRuntimeException 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
      • LicensingRuntimeException

        public LicensingRuntimeException​(java.lang.Throwable cause)
        Constructs a new LicensingRuntimeException 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
      • LicensingRuntimeException

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

        public LicensingRuntimeException​(java.lang.String s,
                                         boolean isTracable)
        Initializes a new instance of the LicensingRuntimeException class
        Parameters:
        s - detail message
        isTracable - either traceable or not
      • LicensingRuntimeException

        public LicensingRuntimeException​(java.lang.String message,
                                         java.lang.Throwable cause,
                                         boolean isTracable)
        Initializes a new instance of the LicensingRuntimeException class
        Parameters:
        message - detail message
        cause - The exception that is the cause of the current exception
        isTracable - either traceable or not
      • LicensingRuntimeException

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

      • getIsTracable

        public boolean getIsTracable()
        Returns the traceability of exception
        Returns:
        true if traceable otherwise false