/* * Returns whether this QueueManager instance is set * to throw a WMQ::WMQException whenever an MQ operation fails * * Returns: * * true : This QueueManager instance will throw a WMQ::WMQException whenever * an MQ operation fails. I.e. if comp_code != WMQ::OK. * * false: WMQ::WMQException will not be thrown * * Note: * * RuntimeError and ArgumentError exceptions are always thrown regardless of the * value of exception_on_error */ VALUE QueueManager_exception_on_error(VALUE self) { PQUEUE_MANAGER pqm; Data_Get_Struct(self, QUEUE_MANAGER, pqm); if (pqm->exception_on_error) { return Qtrue; } return Qfalse; }