Class BadResponseException
Thrown whenever an API fails.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class BadResponseException : CacheException
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(BadResponseException ex)
{
...
}
Name | Description |
---|---|
BadResponseException() | default constructor. |
BadResponseException(SerializationInfo, StreamingContext) | overloaded constructor, manual serialization. |
BadResponseException(String) | overloaded constructor, takes the reason as parameter. |
BadResponseException(String, Exception) | overloaded constructor. |