18 #ifndef _ACTIVEMQ_COMMANDS_BROKERERROR_H_ 19 #define _ACTIVEMQ_COMMANDS_BROKERERROR_H_ 53 std::string exceptionClass;
54 std::vector< decaf::lang::Pointer<StackTraceElement> > stackTraceElements;
114 this->message = message;
122 return exceptionClass;
130 this->exceptionClass = exceptionClass;
154 return stackTraceElements;
162 this->stackTraceElements = stackTraceElements;
169 return this->exCause;
179 this->exCause = exCause;
#define AMQCPP_API
Definition: Config.h:30
virtual void setStackTraceElements(const std::vector< decaf::lang::Pointer< StackTraceElement > > &stackTraceElements)
Sets the Stack Trace Elements for this Exception.
Definition: BrokerError.h:161
virtual const std::vector< decaf::lang::Pointer< StackTraceElement > > & getStackTraceElements() const
Gets the Stack Trace Elements for the Exception.
Definition: BrokerError.h:153
Definition: BrokerError.h:40
virtual BrokerError * cloneDataStructure() const
Clone this object and return a new instance that the caller now owns, this will be an exact copy of t...
Definition: BrokerError.h:79
Definition: DataStructure.h:27
This class represents an Exception sent from the Broker.
Definition: BrokerError.h:37
virtual void setExceptionClass(const std::string &exceptionClass)
Sets the string that contains the Exception Class name.
Definition: BrokerError.h:129
Interface for an Object that can visit the various Command Objects that are sent from and to this cli...
Definition: CommandVisitor.h:69
virtual const std::string & getExceptionClass() const
Gets the string holding the Exception Class name.
Definition: BrokerError.h:121
Definition: BaseCommand.h:27
StackTraceElement()
Definition: BrokerError.h:47
decaf::lang::Pointer< decaf::lang::Exception > getLocalException() const
Definition: BrokerError.h:168
int LineNumber
Definition: BrokerError.h:45
Definition: ActiveMQException.h:35
std::string ClassName
Definition: BrokerError.h:42
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
Definition: BrokerError.h:70
std::string FileName
Definition: BrokerError.h:43
void setLocalException(decaf::lang::Pointer< decaf::lang::Exception > exCause)
Sets the Pointer to the local exception that is the source of this Error.
Definition: BrokerError.h:178
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data...
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
std::string MethodName
Definition: BrokerError.h:44
virtual const std::string & getMessage() const
Gets the string holding the error message.
Definition: BrokerError.h:105
virtual void setMessage(const std::string &message)
Sets the string that contains the error Message.
Definition: BrokerError.h:113
virtual void setCause(const decaf::lang::Pointer< BrokerError > &cause)
Sets the Broker Error that caused this exception.
Definition: BrokerError.h:145
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
virtual const decaf::lang::Pointer< BrokerError > & getCause() const
Gets the Broker Error that caused this exception.
Definition: BrokerError.h:137