Java javax.jms JMSException fields, constructors, methods, implement or subclass

Example usage for Java javax.jms JMSException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.jms JMSException.

The text is from its open source code.

Constructor

JMSException(String reason)
Constructs a JMSException with the specified reason and with the error code defaulting to null.
JMSException(String reason, String errorCode)
Constructs a JMSException with the specified reason and error code.

Method

ThrowablegetCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
ClassgetClass()
Returns the runtime class of this Object .
StringgetErrorCode()
Gets the vendor-specific error code.
ExceptiongetLinkedException()
Gets the exception linked to this one.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
ThrowableinitCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidsetLinkedException(Exception ex)
Adds a linked Exception .
StringtoString()
Returns a short description of this throwable.