Class
caplin.core.Observable

FailedNotification

Represents all the information about why a particular observer failed to process a particular event successfully. These are returned by the caplin.core.Observable#notifyObserversWithTryCatch method when an exception occurs whilst processing a particular event for an observer.

Constructor Summary

Attributes Name and Description
caplin.core.Observable.FailedNotification(Object oObserver, String sMethodName, Object oException)

Constructs a new Observable.FailedNotification with the specified observer, method name and exception.

Method Summary

Attributes Name and Description
String getException()

Gets the exception that was thrown.

String getMethodName()

Gets the name of the method that was invoked.

Object getObserver()

Gets the observer that threw the exception.

Constructor Detail

caplin.core.Observable.FailedNotification(Object oObserver, String sMethodName, Object oException)

Constructs a new Observable.FailedNotification with the specified observer, method name and exception.

Parameters
Object oObserver The observer that threw the exception whilst processing a notification.
String sMethodName The name of the method that was invoked.
Object oException The exception that was thrown.

Method Detail

String getException()

Gets the exception that was thrown.

Returns
The exception.

String getMethodName()

Gets the name of the method that was invoked.

Returns
The method name.

Object getObserver()

Gets the observer that threw the exception.

Returns
The observer.