C# Class Framework.DataBaseException

This Exception Class handles the exceptions related to Database
Inheritance: TCDFrameworkException
Datei anzeigen Open project: geeksree/cSharpGeeks

Public Methods

Method Description
DataBaseException ( Exception innerException ) : System

Initializes a new instance of the TCDFrameworkException class.

DataBaseException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the DataBaseException class.

DataBaseException ( string message, Exception innerException ) : System

Initializes a new instance of the DataBaseException class.

Method Details

DataBaseException() public method

Initializes a new instance of the TCDFrameworkException class.
Failed to create the DB Connection
public DataBaseException ( Exception innerException ) : System
innerException System.Exception The inner exception.
return System

DataBaseException() public method

Initializes a new instance of the DataBaseException class.
public DataBaseException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
return System

DataBaseException() public method

Initializes a new instance of the DataBaseException class.
public DataBaseException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
return System