Java Code Examples for org.apache.reef.wake.EventHandler#toString()

The following examples show how to use org.apache.reef.wake.EventHandler#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TaskStopHandlerFailure.java    From reef with Apache License 2.0 4 votes vote down vote up
/**
 * @param cause the exception thrown by the stop handler
 */
public TaskStopHandlerFailure(final EventHandler<TaskStop> handler, final Throwable cause) {
  super("EventHandler<TaskStop> `" + handler.toString() + "` threw an Exception in onNext()", cause);
}
 
Example 2
Source File: TaskStartHandlerFailure.java    From reef with Apache License 2.0 4 votes vote down vote up
/**
 * @param cause the exception thrown by the start handler
 */
public TaskStartHandlerFailure(final EventHandler<TaskStart> handler, final Throwable cause) {
  super("EventHandler<TaskStart> `" + handler.toString() + "` threw an Exception in onNext()", cause);
}