Sha256: 4144151cf14fddd9892601799acf9eb61d7bde0455893b6c55e6b7f3d19cd104

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>exception_on_error (WMQ::QueueManager)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre>/*
 * 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-&gt;exception_on_error)
    {
        return Qtrue;
    }

    return Qfalse;
}</pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubywmq-0.3.0-i386-mswin32-mq6 doc/classes/WMQ/QueueManager.src/M000028.html
rubywmq-0.3.0-i386-mswin32-mq5.3 doc/classes/WMQ/QueueManager.src/M000028.html