notificationTarget

notificationTarget(): Object;

The notificationTarget method of the NotificationException class returns a reference to the target for the notification whose subscriber was not found.

The Exception class errorObject method returns a reference to this subscriber.

You should use this subscriber reference only to examine the object id (oid). Do not attempt to reference the object itself, as it has just been determined that it could not be found.

The code fragment in the following example shows the use of the Object class getOidStringForObject method to determine the oid of the object that was not found.

write getOidStringForObject(errorObject);