C# Class Prism.ExceptionHandler

显示文件 Open project: TerrariaPrismTeam/Prism

Public Properties

Property Type Description
DetailedExceptions bool

Public Methods

Method Description
Handle ( Exception e ) : void
HandleFatal ( Exception e, bool exitImmediately = true ) : int

Private Methods

Method Description
GetHResult ( Exception e ) : int

Method Details

Handle() public static method

public static Handle ( Exception e ) : void
e System.Exception
return void

HandleFatal() public static method

public static HandleFatal ( Exception e, bool exitImmediately = true ) : int
e System.Exception
exitImmediately bool
return int

Property Details

DetailedExceptions public_oe static_oe property

Set to true in order to get full stack traces in a message box
public static bool DetailedExceptions
return bool