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
CommandBar
about errors that need not be shown on the error page
but should be handled by the CommandBar
itself.
Typically, this means that the error messages are displayed on the View where the command was triggered.
Error messages for all objects for which errors occured are passed in a map:
key
: Object ID (any implemenation of the interfacecom.ibm.bpe.api.OID
)value
: Exception (any instance ofjava.lang.Exception
)
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Fields inherited from class com.ibm.bpe.api.ProcessException |
---|
_catalog, _cause, _id, _key, _message, _vars |
Constructor Summary
Constructor and Description |
---|
ErrorsInCommandException(java.util.Map errors)
Constructs a new
ErrorsInCommandException
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getErrors()
|
Methods inherited from class com.ibm.bpe.api.ProcessException |
---|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, 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 |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
ErrorsInCommandException
- public ErrorsInCommandException( java.util.Map errors)
Parameters:
errors
- a map of exceptions for object IDs. Method Detail
getErrors
- public java.util.Map getErrors( )
Returns:
a map of exceptions for object IDs.
ErrorsInCommandException