com.ibm.bpc.clientcore.exception
Class ErrorsInCommandException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.bpe.api.ProcessException
              extended bycom.ibm.bpc.clientcore.ClientException
                  extended bycom.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
           
 
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, 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
 

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.