Package com.ibm.websphere.cem.exception

Provides feedback to a caller of Component Event Model when an error situation occurs.

See:
          Description

Exception Summary
DuplicateIdentifierException Indicates that the application has tried to create a business context with a name that already exists for the context type.
EmitterCreationException Thrown to indicate that there is a problem with creating a Common Event Infrastructure emitter object.
EmitterFactoryCreationException Thrown to indicate that there is a problem creating a Common Event Infrastructure emitter factory
EventFactoryCreationException Thrown to indicate that there is a problem creating a Common Event Infrastructure event factory.
FixedPropertyException Indicates that the property could not be cleared because its mode is fixed.
InvalidParameterException Indicates that the application has passed an invalid parameter on a BCDS call.
LocationException Thrown to indicate that the we could not obtain the fully qualified name of the host.
NoActiveContextException Indicates that the application has not set a context.
NoContextException Thrown to indicate that there is no context available
PropertyUnavailableException Thrown to indicate that the property could not be obtained from the system as the security manager vetoed it.
ReadonlyPropertyException Indicates that the property could not be set because its mode is readonly.
StateObserverPluginRuntimeException Indicates that the requested events service is not available either because the configuration is not available or the configuration does not point to a working service or some other runtime error.
WEIContextException Provides a root for all exceptions thrown by the Business Context Data Service (BCDS).
WrongProcessException Indicates that the application is trying to reset or clear a property in a process that did not create it.
XMLParseException Indicates there was an error parsing the given XML.
 

Package com.ibm.websphere.cem.exception Description

Provides feedback to a caller of Component Event Model when an error situation occurs.

Package Specification

All CEM exceptions are unchecked exceptions subclassed from WEIContextException which itself is a RuntimeException.

Exceptions which can be thrown from specific CEM calls are documented with the call. Other exceptions are more generic and can occur anytime there is a problem with the underlying WebSphere WorkArea facility on which CEM depends.

If the WebSphere WorkArea facility is not available in the application's environment, exceptions are not raised, but some calls return nulls. It is up to the application writer to check whether a null value has been returned by a CEM call.

CEM shares the WebSphere WorkArea facility with other parts of the same application. This means that the application writer should take care not to corrupt data that belongs to CEM; keys owned by CEM are prefixed with "ECSID:". Several of the exceptions listed here can result from such corruption

See Also:
WEIContextException