com.ibm.bpc.clientcore.exception
Class ErrorsInCommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpc.clientcore.ClientException
com.ibm.bpc.clientcore.exception.ErrorsInCommandException
- All Implemented Interfaces:
- java.io.Serializable
- public class ErrorsInCommandException
- extends ClientException
Represents an internal exception for Command implementations
to notify the calling CommandBar about errors that should be handled by the CommandBar.
Typically this means that error messages are supposed to be displayed on the View the Command
was triggered from.
Error messages for all objects for which an error occured are passed in a map:
- key
- object id (any implemenation of the interface
com.ibm.bpe.api.OID
)
- value
- exception (any instance of
java.lang.Exception
)
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class com.ibm.bpe.api.ProcessException |
getCause, getMessage, getMessage, getMessageKey, getMessageVariables, getRootCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ErrorsInCommandException
public ErrorsInCommandException(java.util.Map errors)
- Constructs a new
ErrorsInCommandException
- Parameters:
errors
- a map of exceptions for object ids.
getErrors
public java.util.Map getErrors()
- Returns:
- a map of exceptions for object ids.