C# 클래스 AwbUpdater.ErrorHandler

This class provides helper functions for handling errors and displaying them to users
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: reedy/AutoWikiBrowser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CurrentPage string
CurrentRevision long
ListMakerText string

공개 메소드들

메소드 설명
HandleException ( Exception ex ) : void

Displays exception information. Should be called from try...catch handlers

MethodNames ( string stackTrace ) : string[]

Returns names of functions in stack trace of an exception

Thrower ( Exception ex ) : string

Returns the name of our function where supposedly error resides; it's the last non-framework function in the stack

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

ErrorHandler ( ) : System

비공개 메소드들

메소드 설명
ErrorHandler_Load ( object sender, EventArgs e ) : void
HandleKnownExceptions ( Exception ex ) : bool
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

btnCopy_Click ( object sender, EventArgs e ) : void
linkLabel1_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

ErrorHandler() 보호된 메소드

protected ErrorHandler ( ) : System
리턴 System

HandleException() 공개 정적인 메소드

Displays exception information. Should be called from try...catch handlers
public static HandleException ( Exception ex ) : void
ex System.Exception Exception object to handle
리턴 void

MethodNames() 공개 정적인 메소드

Returns names of functions in stack trace of an exception
public static MethodNames ( string stackTrace ) : string[]
stackTrace string Exception's StackTrace
리턴 string[]

Thrower() 공개 정적인 메소드

Returns the name of our function where supposedly error resides; it's the last non-framework function in the stack
public static Thrower ( Exception ex ) : string
ex System.Exception Exception to process
리턴 string

프로퍼티 상세

CurrentPage 공개적으로 정적으로 프로퍼티

Title of the page currently being processed
public static string CurrentPage
리턴 string

CurrentRevision 공개적으로 정적으로 프로퍼티

Revision of the page currently being processed
public static long CurrentRevision
리턴 long

ListMakerText 공개적으로 정적으로 프로퍼티

Current text that the list is being made from in ListMaker
public static string ListMakerText
리턴 string