Class AggregateException
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.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class AggregateException : CacheException
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(AggregateException ex)
{
...
}
Name | Description |
---|---|
AggregateException(ArrayList) | constructor, takes the exceptions that are the cause of the current exception as parameter. |
AggregateException(Exception[]) | constructor, takes the exceptions that are the cause of the current exception as parameter. |
AggregateException(SerializationInfo, StreamingContext) | overloaded constructor, manual serialization. |
AggregateException(String, ArrayList) | overloaded constructor, takes the reason as additional parameter. |
Name | Description |
---|---|
InnerExceptions | The exceptions that are the cause of the current exception. |
Message | The message of the exception. This message is the aggregate message from multiple exceptions. |