javax.jms

Class JMSException

Known Direct Subclasses:
IllegalStateException, InvalidClientIDException, InvalidDestinationException, InvalidSelectorException, JMSSecurityException, MessageEOFException, MessageFormatException, MessageNotReadableException, MessageNotWriteableException, ResourceAllocationException, TransactionInProgressException, TransactionRolledBackException

public class JMSException
extends Exception

Constructor Summary

JMSException(String reason)
JMSException(String reason, String errorCode)

Method Summary

String
getErrorCode()
Exception
getLinkedException()
void
setLinkedException(Exception ex)

Constructor Details

JMSException

public JMSException(String reason)

JMSException

public JMSException(String reason,
                    String errorCode)

Method Details

getErrorCode

public String getErrorCode()

getLinkedException

public Exception getLinkedException()

setLinkedException

public void setLinkedException(Exception ex)