Class ParserException
This exception is thrown when an exception occurs during configuration. Likely causes are badly specified configuration strings.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class ParserException : CacheException, ISerializable
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(ConfigurationException ex)
{
...
}
Constructors
Name | Description |
---|---|
ParserException() | Default constructor. |
ParserException(Int32) | Overloaded constructor |
ParserException(Int32, String) | Overloaded constructor |
ParserException(Int32, String, Exception) | Overloaded constructor |
ParserException(Int32, String, String) | Overloaded constructor |
ParserException(SerializationInfo, StreamingContext) | Overloaded constructor, manual serialization. |
ParserException(String) | Overloaded constructor, takes the reason as parameter. |
ParserException(String, Exception) | Overloaded constructor. |