/** * Send an attribute error notification. * * @param object the observedObject. * @param message the human readable message to send. */ void sendAttributeErrorNotification(ObservedObject object, String message) { if (object.notAlreadyNotified(ObservedObject.OBSERVED_ATTRIBUTE_ERROR_NOTIFIED)) sendNotification(object, MonitorNotification.OBSERVED_ATTRIBUTE_ERROR, 0, message, monitor.getObservedAttribute(), null, null); }
/** * Send a runtime error notification. * * @param object the observedObject. * @param message the human readable message to send. */ void sendRuntimeErrorNotification(ObservedObject object, String message) { if (object.notAlreadyNotified(ObservedObject.RUNTIME_ERROR_NOTIFIED)) sendNotification(object, MonitorNotification.RUNTIME_ERROR, 0, message, monitor.getObservedAttribute(), null, null); }
/** * Send an object error notification. * * @param object the observedObject. * @param message the human readable message to send. */ void sendObjectErrorNotification(ObservedObject object, String message) { if (object.notAlreadyNotified(ObservedObject.OBSERVED_OBJECT_ERROR_NOTIFIED)) sendNotification(object, MonitorNotification.OBSERVED_OBJECT_ERROR, 0, message, monitor.getObservedAttribute(), null, null); }
/** * Send an attribute type error notification. * * @param object the observedObject. * @param message the human readable message to send. */ void sendAttributeTypeErrorNotification(ObservedObject object, String message) { if (object.notAlreadyNotified(ObservedObject.OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED)) sendNotification(object, MonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERROR, 0, message, monitor.getObservedAttribute(), null, null); }