C# Class Apache.NMS.NMSException

Inheritance: System.Exception
Show file Open project: ThorTech/apache-nms Class Usage Examples

Protected Properties

Property Type Description
exceptionErrorCode string

Public Methods

Method Description
GetObjectData ( System info, System context ) : void

When overridden in a derived class, sets the SerializationInfo with information about the exception.

NMSException ( ) : System
NMSException ( string message ) : System
NMSException ( string message, Exception innerException ) : System
NMSException ( string message, string errorCode ) : System
NMSException ( string message, string errorCode, Exception innerException ) : System

Protected Methods

Method Description
NMSException ( System info, System context ) : System

Initializes a new instance of the NMSException class with serialized data. Throws System.ArgumentNullException if the info parameter is null. Throws System.Runtime.Serialization.SerializationException if the class name is null or System.Exception.HResult is zero (0).

Method Details

GetObjectData() public method

When overridden in a derived class, sets the SerializationInfo with information about the exception.
public GetObjectData ( System info, System context ) : void
info System The SerializationInfo that holds the serialized object data about the exception being thrown.
context System The StreamingContext that contains contextual information about the source or destination.
return void

NMSException() public method

public NMSException ( ) : System
return System

NMSException() protected method

Initializes a new instance of the NMSException class with serialized data. Throws System.ArgumentNullException if the info parameter is null. Throws System.Runtime.Serialization.SerializationException if the class name is null or System.Exception.HResult is zero (0).
protected NMSException ( System info, System context ) : System
info System The SerializationInfo that holds the serialized object data about the exception being thrown.
context System The StreamingContext that contains contextual information about the source or destination.
return System

NMSException() public method

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

NMSException() public method

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

NMSException() public method

public NMSException ( string message, string errorCode ) : System
message string
errorCode string
return System

NMSException() public method

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

Property Details

exceptionErrorCode protected property

protected string exceptionErrorCode
return string