org.glassfish.jms.admin.cli
Class JMSAdminException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.glassfish.jms.admin.cli.JMSAdminException
All Implemented Interfaces:
java.io.Serializable

public class JMSAdminException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
JMSAdminException()
          Constructs an JMSAdminException object
JMSAdminException(java.lang.String message)
          Constructs an JMSAdminException object
 
Method Summary
 java.lang.Exception getLinkedException()
          Gets the exception linked to this one
 java.lang.String getMessage()
          Returns the message along with the message from any linked exception.
 void setLinkedException(java.lang.Exception ex)
          Adds a linked Exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

JMSAdminException

public JMSAdminException()
Constructs an JMSAdminException object


JMSAdminException

public JMSAdminException(java.lang.String message)
Constructs an JMSAdminException object

Parameters:
message - Exception message
Method Detail

getLinkedException

public java.lang.Exception getLinkedException()
Gets the exception linked to this one

Returns:
the linked Exception, null if none

setLinkedException

public void setLinkedException(java.lang.Exception ex)
Adds a linked Exception

Parameters:
ex - the linked Exception

getMessage

public java.lang.String getMessage()
Returns the message along with the message from any linked exception.

Overrides:
getMessage in class java.lang.Throwable


Copyright © 2012 GlassFish Community. All Rights Reserved.