C# 클래스 Rhino.Tools.ToolErrorReporter

Error reporter for tools.
Error reporter for tools. Currently used by both the shell and the compiler.
상속: ErrorReporter
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
Error ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void
GetMessage ( string messageId ) : string

Look up the message corresponding to messageId in the org.mozilla.javascript.tools.shell.resources.Messages property file.

Look up the message corresponding to messageId in the org.mozilla.javascript.tools.shell.resources.Messages property file. For internationalization support.

GetMessage ( string messageId, object args ) : string
GetMessage ( string messageId, object arg1, object arg2 ) : string
GetMessage ( string messageId, string argument ) : string
HasReportedError ( ) : bool
IsReportingWarnings ( ) : bool
ReportException ( ErrorReporter er, RhinoException ex ) : void
ReportException ( RhinoException ex ) : void
RuntimeError ( string message, string sourceName, int line, string lineSource, int lineOffset ) : EvaluatorException
SetIsReportingWarnings ( bool reportWarnings ) : void
ToolErrorReporter ( bool reportWarnings ) : System
ToolErrorReporter ( bool reportWarnings, TextWriter err ) : System
Warning ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void

비공개 메소드들

메소드 설명
BuildIndicator ( int offset ) : string
GetExceptionMessage ( RhinoException ex ) : string
ReportErrorMessage ( string message, string sourceName, int line, string lineSource, int lineOffset, bool justWarning ) : void

메소드 상세

Error() 공개 메소드

public Error ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void
message string
sourceName string
line int
lineSource string
lineOffset int
리턴 void

GetMessage() 공개 정적인 메소드

Look up the message corresponding to messageId in the org.mozilla.javascript.tools.shell.resources.Messages property file.
Look up the message corresponding to messageId in the org.mozilla.javascript.tools.shell.resources.Messages property file. For internationalization support.
public static GetMessage ( string messageId ) : string
messageId string
리턴 string

GetMessage() 공개 정적인 메소드

public static GetMessage ( string messageId, object args ) : string
messageId string
args object
리턴 string

GetMessage() 공개 정적인 메소드

public static GetMessage ( string messageId, object arg1, object arg2 ) : string
messageId string
arg1 object
arg2 object
리턴 string

GetMessage() 공개 정적인 메소드

public static GetMessage ( string messageId, string argument ) : string
messageId string
argument string
리턴 string

HasReportedError() 공개 메소드

public HasReportedError ( ) : bool
리턴 bool

IsReportingWarnings() 공개 메소드

public IsReportingWarnings ( ) : bool
리턴 bool

ReportException() 공개 정적인 메소드

public static ReportException ( ErrorReporter er, RhinoException ex ) : void
er ErrorReporter
ex Rhino.RhinoException
리턴 void

ReportException() 공개 메소드

public ReportException ( RhinoException ex ) : void
ex Rhino.RhinoException
리턴 void

RuntimeError() 공개 메소드

public RuntimeError ( string message, string sourceName, int line, string lineSource, int lineOffset ) : EvaluatorException
message string
sourceName string
line int
lineSource string
lineOffset int
리턴 Rhino.EvaluatorException

SetIsReportingWarnings() 공개 메소드

public SetIsReportingWarnings ( bool reportWarnings ) : void
reportWarnings bool
리턴 void

ToolErrorReporter() 공개 메소드

public ToolErrorReporter ( bool reportWarnings ) : System
reportWarnings bool
리턴 System

ToolErrorReporter() 공개 메소드

public ToolErrorReporter ( bool reportWarnings, TextWriter err ) : System
reportWarnings bool
err System.IO.TextWriter
리턴 System

Warning() 공개 메소드

public Warning ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void
message string
sourceName string
line int
lineSource string
lineOffset int
리턴 void