IBM WebSphere Application ServerTM
Release 7

com.ibm.bpc.clientcore.exception
Class ErrorsInCommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.bpe.api.ProcessException
              extended by com.ibm.bpc.clientcore.ClientException
                  extended by 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:

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.bpe.api.ProcessException
_catalog, _cause, _id, _key, _message, _vars
 
Constructor Summary
ErrorsInCommandException(java.util.Map errors)
          Constructs a new ErrorsInCommandException
 
Method Summary
 java.util.Map 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:
Constant Field Values
Constructor Detail

ErrorsInCommandException

public ErrorsInCommandException(java.util.Map errors)
Constructs a new ErrorsInCommandException

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.

IBM WebSphere Application ServerTM
Release 7