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
Exception used for batch commands that need to report several exceptions that relate to different items that have
been processed.
In the BPC Explorer the exception is used to notify the calling 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 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, 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 |
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.