Class AggregateRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AggregateRuntimeException
    extends CacheRuntimeException
    This exception is thrown when multiple exceptions occur from multiple nodes. It combines all the exceptions as an inner exception and throw it to the client application.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AggregateRuntimeException()
      Constructs an OperationFailedException with null as its error detail message.
      AggregateRuntimeException​(int errorCode, java.lang.String errorMessage)
      Initializes a new instance of the AggregateRuntimeException class
      AggregateRuntimeException​(int errorCode, java.lang.String errorMessage, java.lang.String stackTrace)
      Initializes a new instance of the AggregateRuntimeException class
      AggregateRuntimeException​(java.lang.String s)
      Constructs an OperationFailedException with the specified detail message.
      AggregateRuntimeException​(java.lang.String s, boolean isTracable)
      Initializes a new instance of the AggregateRuntimeException class
      AggregateRuntimeException​(java.lang.String message, java.lang.Throwable cause)
      Initializes a new instance of the AggregateRuntimeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
      AggregateRuntimeException​(java.lang.String message, java.lang.Throwable cause, boolean isTracable)
      Initializes a new instance of the AggregateRuntimeException class
      AggregateRuntimeException​(java.lang.Throwable cause)
      Initializes a new instance of the AggregateRuntimeException class with references to the inner exceptions that are the cause of this exception.
    • 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

      • AggregateRuntimeException

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

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

        public AggregateRuntimeException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Initializes a new instance of the AggregateRuntimeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
        Parameters:
        message - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture
        cause - The exception that is the cause of the current exception
      • AggregateRuntimeException

        public AggregateRuntimeException​(java.lang.Throwable cause)
        Initializes a new instance of the AggregateRuntimeException class with references to the inner exceptions that are the cause of this exception.
        Parameters:
        cause - The exception that is the cause of the current exception
      • AggregateRuntimeException

        public AggregateRuntimeException​(int errorCode,
                                         java.lang.String errorMessage)
        Initializes a new instance of the AggregateRuntimeException class
        Parameters:
        errorCode - assigned errorcode
        errorMessage - detail message
      • AggregateRuntimeException

        public AggregateRuntimeException​(int errorCode,
                                         java.lang.String errorMessage,
                                         java.lang.String stackTrace)
        Initializes a new instance of the AggregateRuntimeException class
        Parameters:
        errorCode - assigned errorcode
        errorMessage - detail error message
        stackTrace - stacktrace
      • AggregateRuntimeException

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

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

      • getIsTracable

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