C# Class Apache.NMS.ActiveMQ.BrokerException

Inheritance: NMSException
Show file Open project: ThorTech/apache-nms

Public Methods

Method Description
BrokerException ( ) : System
BrokerException ( Apache.NMS.ActiveMQ.Commands.BrokerError brokerError ) : System
BrokerException ( Apache.NMS.ActiveMQ.Commands.BrokerError brokerError, Exception innerException ) : System
GetObjectData ( System info, System context ) : void

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

StackTraceDump ( Apache.NMS.ActiveMQ.Commands.StackTraceElement elements ) : string

Generates a nice textual stack trace

Protected Methods

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

Initializes a new instance of the BrokerException 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

BrokerException() public method

public BrokerException ( ) : System
return System

BrokerException() public method

public BrokerException ( Apache.NMS.ActiveMQ.Commands.BrokerError brokerError ) : System
brokerError Apache.NMS.ActiveMQ.Commands.BrokerError
return System

BrokerException() public method

public BrokerException ( Apache.NMS.ActiveMQ.Commands.BrokerError brokerError, Exception innerException ) : System
brokerError Apache.NMS.ActiveMQ.Commands.BrokerError
innerException System.Exception
return System

BrokerException() protected method

Initializes a new instance of the BrokerException 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 BrokerException ( 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

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

StackTraceDump() public static method

Generates a nice textual stack trace
public static StackTraceDump ( Apache.NMS.ActiveMQ.Commands.StackTraceElement elements ) : string
elements Apache.NMS.ActiveMQ.Commands.StackTraceElement
return string