org.formaria.debug.selfhealing
Interface RepairOperation

All Known Implementing Classes:
DataSourceClassMissing, ServerPropertiesMissing

public interface RepairOperation

An interface used to give the application a chance to add missing configuration files if an error is detected at debug time

Copyright (c) Formaria Ltd., 2008

License: see license.txt


Method Summary
 boolean fixError(Project project, java.lang.Object sourceObj, java.lang.Throwable t)
          Attempt to fix an error when running a Aria application
 

Method Detail

fixError

boolean fixError(Project project,
                 java.lang.Object sourceObj,
                 java.lang.Throwable t)
Attempt to fix an error when running a Aria application

Parameters:
project - the current project
sourceObj - the instance of the class from which the error handler was invoked, or the object being repaired
t - throwable the exception that was trapped, or null
Returns:
true if the error was fixed