|
activemq-cpp-3.9.0
|
Go to the source code of this file.
Macros | |
| #define | AMQ_CATCH_RETHROW(type) |
| Macro for catching and re-throwing an exception of a given type. More... | |
| #define | AMQ_CATCH_EXCEPTION_CONVERT(sourceType, targetType) |
| Macro for catching an exception of one type and then re-throwing as another type. More... | |
| #define | AMQ_CATCHALL_THROW(type) |
| A catch-all that throws a known exception. More... | |
| #define | AMQ_CATCHALL_NOTHROW() |
| A catch-all that does not throw an exception, one use would be to catch any exception in a destructor and mark it, but not throw so that cleanup would continue as normal. More... | |
| #define | AMQ_CATCH_NOTHROW(type) |
| Macro for catching and re-throwing an exception of a given type. More... | |
| #define AMQ_CATCH_EXCEPTION_CONVERT | ( | sourceType, | |
| targetType | |||
| ) |
Macro for catching an exception of one type and then re-throwing as another type.
| sourceType | the type of the exception to be caught. |
| targetType | the type of the exception to be thrown. |
Referenced by activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::looseMarshalObjectArray(), activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightMarshalObjectArray1(), and activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightMarshalObjectArray2().
| #define AMQ_CATCH_NOTHROW | ( | type | ) |
Macro for catching and re-throwing an exception of a given type.
| type | The type of the exception to throw (e.g. ActiveMQException ). |
| #define AMQ_CATCH_RETHROW | ( | type | ) |
Macro for catching and re-throwing an exception of a given type.
| type | The type of the exception to throw (e.g. ActiveMQException ). |
Referenced by activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::looseMarshalObjectArray(), activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightMarshalObjectArray1(), and activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightMarshalObjectArray2().
| #define AMQ_CATCHALL_NOTHROW | ( | ) |
A catch-all that does not throw an exception, one use would be to catch any exception in a destructor and mark it, but not throw so that cleanup would continue as normal.
| #define AMQ_CATCHALL_THROW | ( | type | ) |
A catch-all that throws a known exception.
| type | the type of exception to be thrown. |
Referenced by activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::looseMarshalObjectArray(), activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightMarshalObjectArray1(), and activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightMarshalObjectArray2().