Show / Hide Table of Contents

# Class BrokerError

Represents an exception on the broker

##### Inheritance

System.Object
BaseDataStructure
BaseCommand
BrokerError

##### Implements

Command
DataStructure
System.ICloneable

##### Inherited Members

BaseCommand.CommandId
BaseCommand.GetHashCode()
BaseCommand.Equals(Object)
BaseCommand.ToString()
BaseCommand.GetDataStructureTypeAsString(Int32)
BaseCommand.Visit(ICommandVisitor)
BaseCommand.IsBrokerInfo
BaseCommand.IsConnectionControl
BaseCommand.IsConnectionInfo
BaseCommand.IsConnectionError
BaseCommand.IsConsumerControl
BaseCommand.IsConsumerInfo
BaseCommand.IsControlCommand
BaseCommand.IsDestinationInfo
BaseCommand.IsFlushCommand
BaseCommand.IsKeepAliveInfo
BaseCommand.IsMessage
BaseCommand.IsMessageAck
BaseCommand.IsMessageDispatch
BaseCommand.IsMessageDispatchNotification
BaseCommand.IsMessagePull
BaseCommand.IsProducerAck
BaseCommand.IsProducerInfo
BaseCommand.IsRemoveInfo
BaseCommand.IsRemoveSubscriptionInfo
BaseCommand.IsReplayCommand
BaseCommand.IsResponse
BaseCommand.IsSessionInfo
BaseCommand.IsShutdownInfo
BaseCommand.IsTransactionInfo
BaseCommand.IsWireFormatInfo
BaseCommand.ResponseRequired
BaseCommand.Clone()
BaseDataStructure.GetDataStructureType()
BaseDataStructure.IsMarshallAware()
BaseDataStructure.BeforeMarshall(OpenWireFormat)
BaseDataStructure.AfterMarshall(OpenWireFormat)
BaseDataStructure.BeforeUnmarshall(OpenWireFormat)
BaseDataStructure.AfterUnmarshall(OpenWireFormat)
BaseDataStructure.SetMarshalledForm(OpenWireFormat, Byte[])
BaseDataStructure.GetMarshalledForm(OpenWireFormat)
BaseDataStructure.HashCode(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)

###### Namespace: Apache.NMS.ActiveMQ.Commands

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    [Serializable]
    public class BrokerError : BaseCommand, Command, DataStructure, ICloneable

### Properties

| Improve this Doc View Source

#### Cause

##### Declaration

    public BrokerError Cause { get; set; }

##### Property Value

Type | Description
--- | ---
BrokerError |

| Improve this Doc View Source

#### ExceptionClass

##### Declaration

    public string ExceptionClass { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### Message

##### Declaration

    public string Message { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### StackTrace

##### Declaration

    public string StackTrace { get; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### StackTraceElements

##### Declaration

    public StackTraceElement[] StackTraceElements { get; set; }

##### Property Value

Type | Description
--- | ---
StackTraceElement[] |

### Methods

| Improve this Doc View Source

#### PrintStackTrace(TextWriter)

##### Declaration

    public void PrintStackTrace(TextWriter writer)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.TextWriter | writer |

### Implements

Command
DataStructure
System.ICloneable