Class ParserException
This exception is thrown whenever a query fails to parse and have any issue in parsing.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class ParserException : CacheException, ISerializable, _Exception
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(ConfigurationException ex)
{
...
}
Constructors
Name | Description |
---|---|
ParserException() | The default constructor of class ParseException. |
ParserException(Int32) | An overloaded constructor that takes errorcode as parameter. |
ParserException(Int32, String) | An overloaded constructor that takes errorcode and exception message as parameters. |
ParserException(Int32, String, Exception) | An overloaded constructor that takes errorcode, exception message and nested exception as parameters. |
ParserException(Int32, String, String) | An overloaded constructor that takeserrorcode, exception message and stacktrace as parameters. |
ParserException(SerializationInfo, StreamingContext) | An overloaded constructor that takes serialization info and streaming context as parameters. |
ParserException(String) | An overloaded constructor that takes the reason of exception as parameter. |
ParserException(String, Exception) | An overloaded constructor that takes reason for exception and nested exception as parameters. |