|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.beans.CMBExceptionSupport
This is a utility class that can be used by beans that broadcast CMBExceptionEvents.
CMBExceptionListener
,
CMBExceptionEvent
, Serialized FormConstructor Summary | |
CMBExceptionSupport()
Constructor. |
|
CMBExceptionSupport(java.lang.Object source)
Constructor. |
Method Summary | |
void |
addCMBExceptionListener(CMBExceptionListener listener)
CMBExceptionEvent registration method. |
void |
fireCMBException(CMBExceptionEvent event)
CMBExceptionEvent notification method. |
void |
fireCMBException(int id,
java.lang.Exception exception)
CMBExceptionEvent notification method. |
void |
fireCMBException(java.lang.String message)
CMBExceptionEvent notification method. |
void |
fireCMBException(java.lang.Throwable exception)
CMBExceptionEvent notification method. |
void |
removeCMBExceptionListener(CMBExceptionListener listener)
CMBExceptionEvent unregistration method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMBExceptionSupport()
public CMBExceptionSupport(java.lang.Object source)
source
- the bean or object to be given as the source for
CMBExceptionEventMethod Detail |
public void addCMBExceptionListener(CMBExceptionListener listener)
listener
- listener to be registeredpublic void removeCMBExceptionListener(CMBExceptionListener listener)
listener
- listener to be unregisteredpublic void fireCMBException(CMBExceptionEvent event)
event
- the exception event to postpublic void fireCMBException(int id, java.lang.Exception exception)
message
- the message to build an user-error type of exceptionpublic void fireCMBException(java.lang.String message)
message
- the user error messagepublic void fireCMBException(java.lang.Throwable exception)
exception
- the system error exception object
|
EIP JavaBeans | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |