A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://java.sun.com/javaee/5/docs/api/javax/jms/../../javax/jms/JMSException.html below:

JMSException (Java EE 5 SDK)

javax.jms
Class JMSException
java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          javax.jms.JMSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalStateException, InvalidClientIDException, InvalidDestinationException, InvalidSelectorException, JMSSecurityException, MessageEOFException, MessageFormatException, MessageNotReadableException, MessageNotWriteableException, ResourceAllocationException, TransactionInProgressException, TransactionRolledBackException
public class JMSException
extends Exception

This is the root class of all JMS API exceptions.

It provides the following information:

Version:
1.0 - 5 Oct 1998
Author:
Mark Hapner, Rich Burridge
See Also:
Serialized Form
Constructor Summary 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.     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)
Constructs a JMSException with the specified reason and error code.
Parameters:
reason - a description of the exception
errorCode - a string specifying the vendor-specific error code
JMSException
public JMSException(String reason)
Constructs a JMSException with the specified reason and with the error code defaulting to null.
Parameters:
reason - a description of the exception
getErrorCode
public String getErrorCode()
Gets the vendor-specific error code.
Returns:
a string specifying the vendor-specific error code
getLinkedException
public Exception getLinkedException()
Gets the exception linked to this one.
Returns:
the linked Exception, null if none
setLinkedException
public void setLinkedException(Exception ex)
Adds a linked Exception.
Parameters:
ex - the linked Exception
Submit a bug or feature

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