java.lang.Object java.lang.Throwable java.lang.Exception javax.jms.JMSException
public class JMSException
This is the root class of all JMS API exceptions.
It provides the following information:
getMessage
method.JMSException(String reason)
JMSException
with the specified reason and with the error code defaulting to null. JMSException(String reason, String errorCode)
JMSException
with the specified reason and error code. Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
JMSException
public JMSException(String reason, String errorCode)
JMSException
with the specified reason and error code.
reason
- a description of the exception
errorCode
- a string specifying the vendor-specific error code
public JMSException(String reason)
JMSException
with the specified reason and with the error code defaulting to null.
reason
- a description of the exception
public String getErrorCode()
public Exception getLinkedException()
Exception
, null if none
public void setLinkedException(Exception ex)
Exception
.
ex
- the linked Exception
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3