com.alachisoft.jvcache.runtime.exceptions
Class AggregateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.alachisoft.jvcache.runtime.exceptions.CacheException
              extended by com.alachisoft.jvcache.runtime.exceptions.AggregateException
All Implemented Interfaces:
java.io.Serializable

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

Constructor Summary
AggregateException(java.util.ArrayList exceptions)
           
AggregateException(java.lang.Exception[] _exceptions)
           
AggregateException(java.lang.String reason, java.util.ArrayList exceptions)
           
 
Method Summary
 java.lang.Exception[] getExceptions()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregateException

public AggregateException(java.util.ArrayList exceptions)
Parameters:
exceptions -

AggregateException

public AggregateException(java.lang.Exception[] _exceptions)
Parameters:
_exceptions -

AggregateException

public AggregateException(java.lang.String reason,
                          java.util.ArrayList exceptions)
Parameters:
reason -
exceptions -
Method Detail

getExceptions

public java.lang.Exception[] getExceptions()
Returns:

getMessage

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