groovyx.gpars.dataflow
Interface BindErrorListener<T>

All Known Implementing Classes:
BindErrorAdapter

public interface BindErrorListener<T>

Gets notified about errors when binding values to DataflowVariables

Author:
Vaclav Pech

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
 

Method Detail

onBindError

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

Parameters:
oldValue - The already bound value
failedValue - The value attempted to be bound
uniqueBind - Flag indicating bindUnique() method call

onBindError

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

Parameters:
oldValue - The already bound value
failedError - The error attempted to be bound

onBindError

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

Parameters:
oldError - The already bound Throwable
failedValue - The value attempted to be bound
uniqueBind - Flag indicating bindUnique() method call

onBindError

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

Parameters:
oldError - The already bound Throwable
failedError - The error attempted to be bound

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