public class ExceptionEvents extends CloneableDataObject implements ExceptionsConfiguration
Title: Open Service Framework
Description: A table containing registered exception events.
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
ExceptionEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addException(java.lang.String eventId)
This method adds a standard
Advisory to the configuration. |
ExceptionEvents |
clone()
Clones the object.
|
boolean |
existsException(java.lang.String eventId)
Returns
true if the specific exception event is registered. |
boolean |
hasExceptions()
Returns
true if the component has exception events. |
java.util.List |
listExceptions()
List all exception events by their Event ID.
|
void |
removeAllExceptions()
Removes all exceptions from the Service Configuration.
|
void |
removeException(java.lang.String eventId) |
getSerialVersionUID
public void addException(java.lang.String eventId) throws ServiceConfigurationException
ExceptionsConfiguration
Advisory
to the configuration. This method is typically used
internally by the configuration logic to add or remove advisories that may be raised by various conditions.
However users may register any advisories they need by supplying their associate prototype. Unregistered
advisories may not be raised.addException
in interface ExceptionsConfiguration
eventId
- StringServiceConfigurationException
public void removeException(java.lang.String eventId) throws ServiceConfigurationException
removeException
in interface ExceptionsConfiguration
ServiceConfigurationException
public void removeAllExceptions()
ExceptionsConfiguration
removeAllExceptions
in interface ExceptionsConfiguration
public boolean hasExceptions()
FabricExceptionsSource
true
if the component has exception events.hasExceptions
in interface FabricExceptionsSource
public java.util.List listExceptions()
FabricExceptionsSource
listExceptions
in interface FabricExceptionsSource
public boolean existsException(java.lang.String eventId)
FabricExceptionsSource
true
if the specific exception event is registered.existsException
in interface FabricExceptionsSource
eventId
- Stringpublic ExceptionEvents clone()
CloneableDataObject
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.