ManagementException Class

com.bea.wli.worklist.api
ManagementException Class

public class ManagementException

    extends Exception

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


Hierarchy
Object
  Throwable
    Exception
      ManagementException
All Implemented Interfaces

Serializable

Constructor Summary

ManagementException(Exception except)

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

Construct a new ManagementException exception wrapping an underlying exception and providing a message.
ManagementException(String message)

Construct a new ManagementException exception with a message.
 

Method Summary

public Exception
getException()
Returns the underlying exception, if this exception wraps another exception.
public String
getMessage()
Return a detail message for this exception.
public void
printStackTrace()
public void
printStackTrace(PrintStream stream)
public void
printStackTrace(PrintWriter writer)
public String
toString()
Override toString to pick up any embedded exception.
 
Methods from  java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace,
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

ManagementException

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

ManagementException

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

ManagementException

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

Method Detail

getException() Method

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

Returns

The underlying exception, or null

getMessage() Method

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.

Overrides
Throwable.getMessage()

Returns

The error or warning message.

printStackTrace() Method

public void printStackTrace()
Overrides
Throwable.printStackTrace()

printStackTrace(PrintStream) Method

public void printStackTrace(PrintStream stream)
Overrides
Throwable.printStackTrace(PrintStream)

printStackTrace(PrintWriter) Method

public void printStackTrace(PrintWriter writer)
Overrides
Throwable.printStackTrace(PrintWriter)

toString() Method

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

Overrides
Throwable.toString()

Returns

A string representation of this exception.