Class TokenMgrError
Token Manager Error.
Inheritance
Inherited Members
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class TokenMgrError : Exception, ISerializable, _Exception
Constructors
Name | Description |
---|---|
TokenMgrError() | No arg constructor. |
TokenMgrError(Boolean, Int32, Int32, Int32, String, Char, Int32) | Full Constructor. |
TokenMgrError(SerializationInfo, StreamingContext) | Initializes a new instance of this class with serialized data. |
TokenMgrError(String, Int32) | Constructor with message and reason. |
Properties
Name | Description |
---|---|
Message | You can also modify the body of this method to customize your error messages. For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not of end-users concern, so you can return something like : "Internal Error : Please file a bug report .... " from this method for such cases in the release version of your parser. |
Methods
Name | Description |
---|---|
AddEscapes(String) | Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string |
LexicalError(Boolean, Int32, Int32, Int32, String, Char) | Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error. |