org.formaria.debug.selfhealing
Class DataSourceClassMissing

java.lang.Object
  extended by org.formaria.debug.selfhealing.DataSourceClassMissing
All Implemented Interfaces:
RepairOperation

public class DataSourceClassMissing
extends java.lang.Object
implements RepairOperation

Add the datasource.xml files if they are missing when required by an application

Copyright (c) Formaria Ltd., 2008

License: see license.txt


Constructor Summary
DataSourceClassMissing()
           
 
Method Summary
 boolean fixError(Project project, java.lang.Object sourceObj, java.lang.Throwable t)
          Attempt to fix an error when running a Aria application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceClassMissing

public DataSourceClassMissing()
Method Detail

fixError

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

Specified by:
fixError in interface RepairOperation
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