"Handler object class $0 does not implement the handler interface $1. [{2}]", handlerInstanceObject
.getClass().getName(), Handler.class.getName(), context);
throw new OpenBPException("HandlerExecutionFailed", msg);
}
Handler handlerInstance = (Handler) handlerInstanceObject;
LogUtil.trace(getClass(), "Executing handler on node $0 (class $1) as {2} handler. [{3}]",
currentSocket.getNode().getQualifier().toString(), handlerInstance.getClass().getName(), eventType, context);
// Execute the Java implementation of this handler
try
{
handlerInstance.execute(hc);
}
catch (OpenBPException ee)
{
// Engine exceptions can be rethrown.
throw ee;