groovyx.gpars.dataflow
Class BindErrorAdapter<T>

java.lang.Object
  extended by groovyx.gpars.dataflow.BindErrorAdapter<T>
Type Parameters:
T - The type of the values bound to the DataflowVariable that is being listened to
All Implemented Interfaces:
BindErrorListener<T>

public class BindErrorAdapter<T>
extends java.lang.Object
implements BindErrorListener<T>

An empty implementation of BindErrorListener


Constructor Summary
BindErrorAdapter()
           
 
Method Summary
 void onBindError(java.lang.Throwable oldError, T failedValue, boolean uniqueBind)
          Notifies about failed bind operations
 void onBindError(java.lang.Throwable oldError, java.lang.Throwable failedError)
          Notifies about failed bindError operations
 void onBindError(T oldValue, T failedValue, boolean uniqueBind)
          Notifies about failed bind operations
 void onBindError(T oldValue, java.lang.Throwable failedError)
          Notifies about failed bindError operations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindErrorAdapter

public BindErrorAdapter()
Method Detail

onBindError

public void onBindError(T oldValue,
                        T failedValue,
                        boolean uniqueBind)
Notifies about failed bind operations

Specified by:
onBindError in interface BindErrorListener<T>
Parameters:
oldValue - The already bound value
failedValue - The value attempted to be bound
uniqueBind - Flag indicating bindUnique() method call

onBindError

public void onBindError(T oldValue,
                        java.lang.Throwable failedError)
Notifies about failed bindError operations

Specified by:
onBindError in interface BindErrorListener<T>
Parameters:
oldValue - The already bound value
failedError - The error attempted to be bound

onBindError

public void onBindError(java.lang.Throwable oldError,
                        T failedValue,
                        boolean uniqueBind)
Notifies about failed bind operations

Specified by:
onBindError in interface BindErrorListener<T>
Parameters:
oldError - The already bound Throwable
failedValue - The value attempted to be bound
uniqueBind - Flag indicating bindUnique() method call

onBindError

public void onBindError(java.lang.Throwable oldError,
                        java.lang.Throwable failedError)
Notifies about failed bindError operations

Specified by:
onBindError in interface BindErrorListener<T>
Parameters:
oldError - The already bound Throwable
failedError - The error attempted to be bound

Copyright © 2008–2013 Václav Pech. All Rights Reserved.