Movatterモバイル変換


[0]ホーム

URL:


         


Class JMSException

java.lang.Object  |  +--java.lang.Throwable        |        +--java.lang.Exception              |              +--javax.jms.JMSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IllegalStateException,InvalidClientIDException,InvalidDestinationException,InvalidSelectorException,JMSSecurityException,MessageEOFException,MessageFormatException,MessageNotReadableException,MessageNotWriteableException,ResourceAllocationException,TransactionInProgressException,TransactionRolledBackException

public classJMSException
extends java.lang.Exception

This is the root class of all JMS API exceptions.

It provides the following information:

See Also:
Serialized Form

JMSException(java.lang.String reason)
          Constructs aJMSException with the specified reason and with the error code defaulting to null.
JMSException(java.lang.String reason, java.lang.String errorCode)
          Constructs aJMSException with the specified reason and error code.
 
getErrorCode()
          Gets the vendor-specific error code.
getLinkedException()
          Gets the exception linked to this one.
setLinkedException(java.lang.Exception ex)
          Adds a linkedException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

JMSException

publicJMSException(java.lang.String reason,                    java.lang.String errorCode)
Constructs aJMSException with the specified reason and error code.
Parameters:
reason - a description of the exception
errorCode - a string specifying the vendor-specific error code

JMSException

publicJMSException(java.lang.String reason)
Constructs aJMSException with the specified reason and with the error code defaulting to null.
Parameters:
reason - a description of the exception

getErrorCode

public java.lang.StringgetErrorCode()
Gets the vendor-specific error code.
Returns:
a string specifying the vendor-specific error code

getLinkedException

public java.lang.ExceptiongetLinkedException()
Gets the exception linked to this one.
Returns:
the linkedException, null if none

setLinkedException

public voidsetLinkedException(java.lang.Exception ex)
Adds a linkedException.
Parameters:
ex - the linkedException

         


[8]ページ先頭

©2009-2025 Movatter.jp