C# 클래스 SDE.ApplicationConfiguration.SdeErrorHandler

The primary error handler used throughout the application. It displays the exceptions with an error dialog and sends the information to the debugger dialog if necessary. Exceptions are ALWAYS dispalyed with this class. The priority order is as follow : - Top most window if it exists - Application's main window if it exists and is loaded - System.Windows.MessageBox's dialog window - If all the above fails, the exception is stored in crash.log or debug.log
상속: IErrorHandler
파일 보기 프로젝트 열기: Tokeiburu/RagnarokSDE

공개 메소드들

메소드 설명
Handle ( Exception exception, ErrorLevel errorLevel ) : void
Handle ( object caller, Exception exception, ErrorLevel errorLevel ) : void
Handle ( object caller, string exception, ErrorLevel errorLevel ) : void
Handle ( string exception, ErrorLevel errorLevel ) : void
ShowStackTraceViewer ( ) : void
YesNoRequest ( string message, string caption ) : bool

비공개 메소드들

메소드 설명
SdeErrorHandler ( ) : System
_checkMainWindow ( ) : void
_exceptionAlreadyShown ( string exception ) : bool
_getHeader ( ErrorLevel level ) : string
_reportAnyManagedExceptions ( string message, Exception exception, ErrorLevel errorLevel ) : void
_showBasicError ( string message, string caption ) : void

메소드 상세

Handle() 공개 메소드

public Handle ( Exception exception, ErrorLevel errorLevel ) : void
exception System.Exception
errorLevel ErrorLevel
리턴 void

Handle() 공개 메소드

public Handle ( object caller, Exception exception, ErrorLevel errorLevel ) : void
caller object
exception System.Exception
errorLevel ErrorLevel
리턴 void

Handle() 공개 메소드

public Handle ( object caller, string exception, ErrorLevel errorLevel ) : void
caller object
exception string
errorLevel ErrorLevel
리턴 void

Handle() 공개 메소드

public Handle ( string exception, ErrorLevel errorLevel ) : void
exception string
errorLevel ErrorLevel
리턴 void

ShowStackTraceViewer() 공개 정적인 메소드

public static ShowStackTraceViewer ( ) : void
리턴 void

YesNoRequest() 공개 메소드

public YesNoRequest ( string message, string caption ) : bool
message string
caption string
리턴 bool