#include <src/main/activemq/exceptions/ActiveMQException.h>

Public Member Functions | |
| ActiveMQException () | |
| Default Constructor. | |
| ActiveMQException (const ActiveMQException &ex) | |
| Copy Constructor. | |
| ActiveMQException (const decaf::lang::Exception &ex) | |
| Copy Constructor. | |
| ActiveMQException (const char *file, const int lineNumber, const char *msg,...) | |
| Constructor - Initializes the file name and line number where this message occurred. | |
| ActiveMQException (const char *file, const int lineNumber, const std::exception *cause, const char *msg,...) | |
| Constructor - Initializes the file name and line number where this message occurred. | |
| virtual | ~ActiveMQException () throw () |
| virtual ActiveMQException * | clone () const |
| Clones this exception. | |
| virtual cms::CMSException | convertToCMSException () const |
| Converts this exception to a new CMSException. | |
| activemq::exceptions::ActiveMQException::ActiveMQException | ( | ) |
Default Constructor.
| activemq::exceptions::ActiveMQException::ActiveMQException | ( | const ActiveMQException & | ex | ) |
Copy Constructor.
| ex | The Exception whose internal data is copied into this instance. |
| activemq::exceptions::ActiveMQException::ActiveMQException | ( | const decaf::lang::Exception & | ex | ) |
Copy Constructor.
| ex | The Exception whose internal data is copied into this instance. |
| activemq::exceptions::ActiveMQException::ActiveMQException | ( | const char * | file, | |
| const int | lineNumber, | |||
| const char * | msg, | |||
| ... | ||||
| ) |
Constructor - Initializes the file name and line number where this message occurred.
Sets the message to report, using an optional list of arguments to parse into the message.
| file | The file name where exception occurs. | |
| lineNumber | The line number where the exception occurred. | |
| msg | The message to report. | |
| ... | The list of primitives that are formatted into the message. |
| activemq::exceptions::ActiveMQException::ActiveMQException | ( | const char * | file, | |
| const int | lineNumber, | |||
| const std::exception * | cause, | |||
| const char * | msg, | |||
| ... | ||||
| ) |
Constructor - Initializes the file name and line number where this message occurred.
Sets the message to report, using an optional list of arguments to parse into the message.
| file | The file name where exception occurs | |
| lineNumber | The line number where the exception occurred. | |
| cause | The exception that was the cause for this one to be thrown. | |
| msg | The message to report | |
| ... | list of primitives that are formatted into the message |
| virtual activemq::exceptions::ActiveMQException::~ActiveMQException | ( | ) | throw () [virtual] |
| virtual ActiveMQException* activemq::exceptions::ActiveMQException::clone | ( | ) | const [virtual] |
Clones this exception.
This is useful for cases where you need to preserve the type of the original exception as well as the message. All subclasses should override.
Reimplemented from decaf::lang::Exception.
Reimplemented in activemq::exceptions::BrokerException, and activemq::exceptions::ConnectionFailedException.
| virtual cms::CMSException activemq::exceptions::ActiveMQException::convertToCMSException | ( | ) | const [virtual] |
Converts this exception to a new CMSException.
1.6.1