activemq-cpp-3.9.0
|
Go to the source code of this file.
Macros | |
#define | DECAF_CATCH_RETHROW(type) |
Macro for catching and rethrowing an exception of a given type. More... | |
#define | DECAF_CATCH_EXCEPTION_CONVERT(sourceType, targetType) |
Macro for catching an exception of one type and then rethrowing as another type. More... | |
#define | DECAF_CATCHALL_THROW(type) |
A catch-all that throws a known exception. More... | |
#define | DECAF_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 | DECAF_CATCH_NOTHROW(type) |
Macro for catching and rethrowing an exception of a given type. More... | |
#define DECAF_CATCH_EXCEPTION_CONVERT | ( | sourceType, | |
targetType | |||
) |
Macro for catching an exception of one type and then rethrowing as another type.
sourceType | the type of the exception to be caught. |
targetType | the type of the exception to be thrown. |
Referenced by decaf::util::PriorityQueue< E >::add().
#define DECAF_CATCH_NOTHROW | ( | type | ) |
Macro for catching and rethrowing an exception of a given type.
type | The type of the exception to throw (e.g. Exception ). |
#define DECAF_CATCH_RETHROW | ( | type | ) |
Macro for catching and rethrowing an exception of a given type.
type | The type of the exception to throw (e.g. Exception ). |
Referenced by decaf::util::PriorityQueue< E >::add(), decaf::util::concurrent::LinkedBlockingQueue< decaf::lang::Pointer< activemq::transport::Transport > >::LinkedBlockingQueue(), and decaf::util::concurrent::ExecutorService::submit().
#define DECAF_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.
Referenced by decaf::util::ArrayList< decaf::lang::Pointer< activemq::commands::ActiveMQDestination > >::~ArrayList(), and decaf::util::HashSet< E, HASHCODE >::~HashSet().
#define DECAF_CATCHALL_THROW | ( | type | ) |
A catch-all that throws a known exception.
type | the type of exception to be thrown. |
Referenced by decaf::util::PriorityQueue< E >::add(), decaf::util::concurrent::LinkedBlockingQueue< decaf::lang::Pointer< activemq::transport::Transport > >::LinkedBlockingQueue(), and decaf::util::concurrent::ExecutorService::submit().