com.bea.wli.worklist.api
Class ManagementException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.bea.wli.worklist.api.ManagementException
All Implemented Interfaces:
Serializable

public class ManagementException
extends Exception

Exception thrown when an operation attempted on the Worklist Manager fails.

See Also:
Serialized Form

Constructor Summary
ManagementException(Exception except)
          Construct a new ProcessManagementException exception wrapping an underlying exception.
ManagementException(String message)
          Construct a new ManagementException exception with a message.
ManagementException(String message, Exception except)
          Construct a new ManagementException exception wrapping an underlying exception and providing a message.
 
Method Summary
 Exception getException()
          Returns the underlying exception, if this exception wraps another exception.
 String getMessage()
          Return a detail message for this exception.
 void printStackTrace()
           
 void printStackTrace(PrintStream stream)
           
 void printStackTrace(PrintWriter writer)
           
 String toString()
          Override toString to pick up any embedded exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagementException

public ManagementException(String message,
                           Exception except)
Construct a new ManagementException exception wrapping an underlying exception and providing a message.

Parameters:
message - The exception message
except - The underlying exception

ManagementException

public ManagementException(String message)
Construct a new ManagementException exception with a message.

Parameters:
message - The exception message

ManagementException

public ManagementException(Exception except)
Construct a new ProcessManagementException exception wrapping an underlying exception.

Parameters:
except - The underlying exception
Method Detail

getException

public Exception getException()
Returns the underlying exception, if this exception wraps another exception.

Returns:
The underlying exception, or null

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream stream)

printStackTrace

public void printStackTrace(PrintWriter writer)

getMessage

public String getMessage()
Return a detail message for this exception.

If there is an embedded exception, and if the NestedException has no detail message of its own, this method will return the detail message from the embedded exception.

Returns:
The error or warning message.

toString

public String toString()
Override toString to pick up any embedded exception.

Returns:
A string representation of this exception.