Class AggregateException

  • All Implemented Interfaces:

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Exception[] getExceptions()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • AggregateException

        public AggregateException​(java.util.ArrayList exceptions)
      • AggregateException

        public AggregateException​(java.lang.Exception[] _exceptions)
      • AggregateException

        public AggregateException​(java.lang.String reason,
                                  java.util.ArrayList exceptions)
      • AggregateException

        public AggregateException​(int errorCode,
                                  java.lang.String reason,
                                  java.util.ArrayList exceptions)
    • Method Detail

      • getExceptions

        public java.lang.Exception[] getExceptions()
      • getMessage

        public java.lang.String getMessage()
        getMessage in class java.lang.Throwable