TIBCO Enterprise Message Service
Version 4.3.0

com.tibco.tibjms.admin
Class TibjmsAdminException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.tibco.tibjms.admin.TibjmsAdminException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TibjmsAdminInvalidNameException, TibjmsAdminNameExistsException, TibjmsAdminSecurityException

public class TibjmsAdminException
extends java.lang.Exception

This is the general admin exception used when an error occurs with a call to the server.

See Also:
Serialized Form

Constructor Summary
TibjmsAdminException(java.lang.String msg)
          Create a new TibjmsAdminException with given error message.
TibjmsAdminException(java.lang.String msg, java.lang.Exception e)
          Create a new TibjmsAdminException with given error message and root exception.
 
Method Summary
 void printStackTrace()
          Prints stack trace of this exception and of the internal exception if it is set.
 void printStackTrace(java.io.PrintStream s)
          Prints stack trace of this exception and of the internal exception if it is set.
 void printStackTrace(java.io.PrintWriter s)
          Prints stack trace of this exception and of the internal exception if it is set.
 java.lang.String toString()
          Generate a string representation of this TibjmsAdminException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TibjmsAdminException

public TibjmsAdminException(java.lang.String msg)
Create a new TibjmsAdminException with given error message.

Parameters:
msg - The error message for the exception.

TibjmsAdminException

public TibjmsAdminException(java.lang.String msg,
                            java.lang.Exception e)
Create a new TibjmsAdminException with given error message and root exception.

Parameters:
msg - The error message for the exception.
e - The root cause of the exception.
Method Detail

printStackTrace

public void printStackTrace()
Prints stack trace of this exception and of the internal exception if it is set.


printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints stack trace of this exception and of the internal exception if it is set.

Parameters:
s - the PrintWriter object to print to.

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints stack trace of this exception and of the internal exception if it is set.

Parameters:
s - the PrintStream object to print to.

toString

public java.lang.String toString()
Generate a string representation of this TibjmsAdminException.

Returns:
a string representation of this TibjmsAdminException.

TIBCO Enterprise Message Service
Version 4.3.0

Copyright © TIBCO Software Inc. All rights reserved