com.alachisoft.ncache.runtime.exceptions
Class AggregateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.alachisoft.ncache.runtime.exceptions.CacheException
              extended by com.alachisoft.ncache.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()
          Constructs an AggregateException with null as its error detail message.
AggregateException(java.lang.String s)
          Constructs an AggregateException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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()
Constructs an AggregateException with null as its error detail message.


AggregateException

public AggregateException(java.lang.String s)
Constructs an AggregateException 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.