|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.jms.JMSException
This is the root class of all JMS API exceptions.
It provides the following information:
getMessage method.
| Constructor Summary | |
JMSException(java.lang.String reason)
Constructs a JMSException with the specified reason and with
the error code defaulting to null. |
|
JMSException(java.lang.String reason,
java.lang.String errorCode)
Constructs a JMSException with the specified reason and
error code. |
|
| Method Summary | |
java.lang.String |
getErrorCode()
Gets the vendor-specific error code. |
java.lang.Exception |
getLinkedException()
Gets the exception linked to this one. |
void |
setLinkedException(java.lang.Exception ex)
Adds a linked Exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JMSException(java.lang.String reason,
java.lang.String errorCode)
JMSException with the specified reason and
error code.
reason - a description of the exceptionerrorCode - a string specifying the vendor-specific
error codepublic JMSException(java.lang.String reason)
JMSException with the specified reason and with
the error code defaulting to null.
reason - a description of the exception| Method Detail |
public java.lang.String getErrorCode()
public java.lang.Exception getLinkedException()
Exception, null if nonepublic void setLinkedException(java.lang.Exception ex)
Exception.
ex - the linked Exception
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.