C# 클래스 Lucene.Net.QueryParsers.Surround.Parser.TokenMgrError

상속: System.Exception
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
TokenMgrError ( ) : System

No arg constructor.

TokenMgrError ( bool EOFSeen, int lexState, int errorLine, int errorColumn, string errorAfter, char curChar, int reason ) : System

Full Constructor.

TokenMgrError ( string message, int reason ) : System

Constructor with message and reason.

보호된 메소드들

메소드 설명
AddEscapes ( string str ) : string

Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string

LexicalError ( bool EOFSeen, int lexState, int errorLine, int errorColumn, string errorAfter, char curChar ) : string

Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.

You can customize the lexical error message by modifying this method.

메소드 상세

AddEscapes() 보호된 정적인 메소드

Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
protected static AddEscapes ( string str ) : string
str string
리턴 string

LexicalError() 보호된 정적인 메소드

Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
You can customize the lexical error message by modifying this method.
protected static LexicalError ( bool EOFSeen, int lexState, int errorLine, int errorColumn, string errorAfter, char curChar ) : string
EOFSeen bool indicates if EOF caused the lexical error
lexState int lexical state in which this error occurred
errorLine int line number when the error occurred
errorColumn int column number when the error occurred
errorAfter string prefix that was seen before this error occurred
curChar char the offending character
리턴 string

TokenMgrError() 공개 메소드

No arg constructor.
public TokenMgrError ( ) : System
리턴 System

TokenMgrError() 공개 메소드

Full Constructor.
public TokenMgrError ( bool EOFSeen, int lexState, int errorLine, int errorColumn, string errorAfter, char curChar, int reason ) : System
EOFSeen bool
lexState int
errorLine int
errorColumn int
errorAfter string
curChar char
reason int
리턴 System

TokenMgrError() 공개 메소드

Constructor with message and reason.
public TokenMgrError ( string message, int reason ) : System
message string
reason int
리턴 System