C# Class Deveel.Data.Diagnostics.ErrorException

The base class of all the exceptions handled by the system and that can be converted to events sent to the diagnostics.
Inheritance: System.Exception
ファイルを表示 Open project: deveel/deveeldb

Public Methods

Method Description
AsEvent ( IEventSource source = null ) : ErrorEvent

Transforms the error to an event to be passed to the diagnostics, given a source where this was generated.

ErrorException ( ) : System
ErrorException ( int errorCode ) : System
ErrorException ( int errorCode, string message ) : System
ErrorException ( int errorCode, string message, Exception innerException ) : System
ErrorException ( string message ) : System
ErrorException ( string message, Exception innerException ) : System

Protected Methods

Method Description
GetMetadata ( object>.IDictionary metadata ) : void

Private Methods

Method Description
ExtractMetadata ( ) : object>.IDictionary

Method Details

AsEvent() public method

Transforms the error to an event to be passed to the diagnostics, given a source where this was generated.
public AsEvent ( IEventSource source = null ) : ErrorEvent
source IEventSource The source of the error.
return ErrorEvent

ErrorException() public method

public ErrorException ( ) : System
return System

ErrorException() public method

public ErrorException ( int errorCode ) : System
errorCode int
return System

ErrorException() public method

public ErrorException ( int errorCode, string message ) : System
errorCode int
message string
return System

ErrorException() public method

public ErrorException ( int errorCode, string message, Exception innerException ) : System
errorCode int
message string
innerException System.Exception
return System

ErrorException() public method

public ErrorException ( string message ) : System
message string
return System

ErrorException() public method

public ErrorException ( string message, Exception innerException ) : System
message string
innerException System.Exception
return System

GetMetadata() protected method

protected GetMetadata ( object>.IDictionary metadata ) : void
metadata object>.IDictionary
return void