# com.bea.wli.worklist.api
AssignmentException Class

public class AssignmentException
extends `Exception`

Exception thrown when an assignment operation fails.

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `AssignmentException`

All Implemented Interfaces
  `Serializable`

## Constructor Summary

AssignmentException(`Exception` except) Construct a new `ProcessAssignmentException` exception wrapping an underlying exception.
AssignmentException(`String` message, `Exception` except) Construct a new `AssignmentException` exception wrapping an underlying exception and providing a message.
AssignmentException(`String` message) Construct a new `AssignmentException` 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

### AssignmentException

    public AssignmentException(Exception except)

  Construct a new `ProcessAssignmentException` exception wrapping an underlying exception.

### AssignmentException

    public AssignmentException(String message,
                               Exception except)

  Construct a new `AssignmentException` exception wrapping an underlying exception and providing a message.

### AssignmentException

    public AssignmentException(String message)

  Construct a new `AssignmentException` 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.