Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.admin
Class ManageableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sssw.jbroker.api.admin.ManageableException
All Implemented Interfaces:
Serializable

public class ManageableException
extends Exception

A ManageableException is the common superclass for a number of admin-related exceptions.

See Also:
Serialized Form

Constructor Summary
ManageableException()
          Constructs a ManageableException with no specified detail message.
ManageableException(String s)
          Constructs a ManageableException with the specified detail message.
ManageableException(String s, Throwable ex)
          Constructs a ManageableException with the specified detail message and nested exception.
 
Method Summary
 String getMessage()
          Returns the detail message, including the message from the nested exception if there is one.
 void printStackTrace()
          Prints the composite message to System.err.
 void printStackTrace(PrintStream ps)
          Prints the composite message and the embedded stack trace to the specified stream ps.
 void printStackTrace(PrintWriter pw)
          Prints the composite message and the embedded stack trace to the specified print writer pw
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManageableException

public ManageableException()
Constructs a ManageableException with no specified detail message.


ManageableException

public ManageableException(String s)
Constructs a ManageableException with the specified detail message.

Parameters:
s - the detail message

ManageableException

public ManageableException(String s,
                           Throwable ex)
Constructs a ManageableException with the specified detail message and nested exception.

Parameters:
s - the detail message
ex - the nested exception
Method Detail

getMessage

public String getMessage()
Returns the detail message, including the message from the nested exception if there is one.


printStackTrace

public void printStackTrace(PrintStream ps)
Prints the composite message and the embedded stack trace to the specified stream ps.

Parameters:
ps - the print stream

printStackTrace

public void printStackTrace()
Prints the composite message to System.err.


printStackTrace

public void printStackTrace(PrintWriter pw)
Prints the composite message and the embedded stack trace to the specified print writer pw

Parameters:
pw - the print writer

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.