Oracle® Streams Advanced Queuing Java API Reference
Release 1 (10.1)

B12023-01

oracle.jms
Class AQjmsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.jms.JMSException
                    |
                    +--oracle.jms.AQjmsException
All Implemented Interfaces:
java.io.Serializable

public class AQjmsException
extends JMSException

Extends javax.jms.JMSException. Adds Oracle AQ extensions

See Also:
Serialized Form

Method Summary
 java.lang.String getAllStackTracesString()
          Returns a string containing the stack traces of all exceptions in the order: this exception linked exception (linked exception), etc
 int getErrorNumber()
          Get the Oracle Error code for the exception Important: This method will be deprecated in a future release.
 java.lang.String getLinkString()
          Returns a string indicating that the message is from the linked exception.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           

 

Methods inherited from class javax.jms.JMSException
getErrorCode, getLinkedException, setLinkedException

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getErrorNumber

public int getErrorNumber()
Get the Oracle Error code for the exception

Important: This method will be deprecated in a future release. Use getErrorCode() instead.

See Also:
JMSException.getErrorCode()

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable

getLinkString

public java.lang.String getLinkString()
Returns a string indicating that the message is from the linked exception.

getAllStackTracesString

public java.lang.String getAllStackTracesString()
Returns a string containing the stack traces of all exceptions in the order: this exception linked exception (linked exception), etc

Oracle® Streams Advanced Queuing Java API Reference
Release 1 (10.1)

B12023-01

Copyright © 2003, Oracle. All Rights Reserved.