com.ibm.bpe.jsf.handler

Interface ErrorHandler

All Superinterfaces:
ItemProvider
All known implementing classes:
BPCListHandler

  1. public interface ErrorHandler
  2. extends ItemProvider
A container that is able to display exceptions for individual items that have also been provided. To use this container, you must set up a map that associates the exceptions with the IDs of the items provided.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. java.util.Map
getErrors()
Retrieve the errors that were reported for the items.
  1. void
setErrors(java.util.Map errors)
Command implementations can use this method to report errors for individual items.
Methods inherited from interface com.ibm.bpe.jsf.handler.ItemProvider
getSelectedItems

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

setErrors

  1. void setErrors(java.util.Map errors)
Command implementations can use this method to report errors for individual items.
Parameters:
errors - a map of exceptions for object IDs.

getErrors

  1. java.util.Map getErrors()
Retrieve the errors that were reported for the items.
Returns:
a map of exceptions for object IDs.