C# Class NPlot.ErrorHandler

Error class that (a) adds source of problem. (b) by default throws exception. (c) default behaviour can be overridden.
Afficher le fichier Open project: mono/nplot-gtk

Méthodes publiques

Свойство Type Description
Instance ErrorHandler

Méthodes publiques

Méthode Description
ContinuingError ( string message ) : void

Handles a continuing error.

CriticalError ( string message ) : void

Handles a critical error.

Handle ( Level level, string message ) : void

Handles a message of the given level.

Private Methods

Méthode Description
DebugError ( string message ) : void
ErrorHandler ( ) : System
GetPrepend ( ) : string

Get text to prepend to log message to describe its origin. This is the first place in stack outside Cts.Library.MessageLog.

HandleError ( string message ) : void
NullHandler ( string message ) : void

Method Details

ContinuingError() public méthode

Handles a continuing error.
public ContinuingError ( string message ) : void
message string message to handle
Résultat void

CriticalError() public méthode

Handles a critical error.
public CriticalError ( string message ) : void
message string message to handle
Résultat void

Handle() public méthode

Handles a message of the given level.
public Handle ( Level level, string message ) : void
level Level The message level.
message string The message to handle.
Résultat void

Property Details

Instance public_oe static_oe property

The singular ErrorHandler instance
public static ErrorHandler,NPlot Instance
Résultat ErrorHandler