org.formaria.editor.debug.selfhealing
Class ServerPropertiesMissing

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

public class ServerPropertiesMissing
extends java.lang.Object
implements RepairOperation

Add the server.properties files if they are missing when required by an application

Copyright (c) Formaria Ltd., 2002-2007

License: see license.txt


Constructor Summary
ServerPropertiesMissing()
           
 
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

ServerPropertiesMissing

public ServerPropertiesMissing()
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