Go to the documentation of this file. 17 #ifndef _ACTIVEMQ_EXCEPTIONS_EXCEPTIONDEFINES_H_ 18 #define _ACTIVEMQ_EXCEPTIONS_EXCEPTIONDEFINES_H_ 26 #define AMQ_CATCH_RETHROW( type ) \ 28 ex.setMark( __FILE__, __LINE__ ); \ 38 #define AMQ_CATCH_EXCEPTION_CONVERT( sourceType, targetType ) \ 39 catch( sourceType& ex ){ \ 40 targetType target( ex ); \ 41 target.setMark( __FILE__, __LINE__ ); \ 49 #define AMQ_CATCHALL_THROW( type ) \ 51 type ex( __FILE__, __LINE__, \ 52 "caught unknown exception" ); \ 61 #define AMQ_CATCHALL_NOTHROW( ) \ 63 activemq::exceptions::ActiveMQException ex( __FILE__, __LINE__, \ 64 "caught unknown exception, not rethrowing" ); \ 73 #define AMQ_CATCH_NOTHROW( type ) \ 75 ex.setMark( __FILE__, __LINE__ ); \