Class AggregateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- 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
Constructors Constructor Description AggregateException(int errorCode, java.lang.String reason, java.util.ArrayList exceptions)
AggregateException(java.lang.Exception[] _exceptions)
AggregateException(java.lang.String reason, java.util.ArrayList exceptions)
AggregateException(java.util.ArrayList exceptions)
-
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 com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
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)
-
-