C# Class Volante.DatabaseException

Exception thrown by database implementation
Inheritance: System.ApplicationException
Mostra file Open project: kjk/volante

Public Methods

Method Description
DatabaseException ( ErrorCode errorCode ) : System

Get original exception if DatabaseException was thrown as the result of catching some other exception within database implementation. DatabaseException is used as a wrapper of other exceptions to avoid cascading propagation of throw and try/catch.

DatabaseException ( ErrorCode errorCode, Exception x ) : System
DatabaseException ( ErrorCode errorCode, object param ) : System
DatabaseException ( ErrorCode errorCode, object param, System x ) : System

Method Details

DatabaseException() public method

Get original exception if DatabaseException was thrown as the result of catching some other exception within database implementation. DatabaseException is used as a wrapper of other exceptions to avoid cascading propagation of throw and try/catch.
public DatabaseException ( ErrorCode errorCode ) : System
errorCode ErrorCode
return System

DatabaseException() public method

public DatabaseException ( ErrorCode errorCode, Exception x ) : System
errorCode ErrorCode
x System.Exception
return System

DatabaseException() public method

public DatabaseException ( ErrorCode errorCode, object param ) : System
errorCode ErrorCode
param object
return System

DatabaseException() public method

public DatabaseException ( ErrorCode errorCode, object param, System x ) : System
errorCode ErrorCode
param object
x System
return System