org.mevenide.context
Interface IQueryErrorCallback


public interface IQueryErrorCallback

an error callback which implementations can be passed to IqueryContext to get notified of errors in reading and parsing. The IQueryContext doesn't propagate these errors on purpose but one can be notified here and handle the UI changes appropriately.

Author:
Milos Kleint

Field Summary
static int ERROR_CANNOT_FIND_PARENT_POM
           
static int ERROR_CANNOT_FIND_POM
           
static int ERROR_UNPARSABLE_POM
           
static int ERROR_UNREADABLE_PROP_FILE
           
 
Method Summary
 void discardError(int errorNumber)
           
 void handleError(int errorNumber, java.lang.Exception exception)
           
 

Field Detail

ERROR_UNPARSABLE_POM

public static final int ERROR_UNPARSABLE_POM
See Also:
Constant Field Values

ERROR_UNREADABLE_PROP_FILE

public static final int ERROR_UNREADABLE_PROP_FILE
See Also:
Constant Field Values

ERROR_CANNOT_FIND_POM

public static final int ERROR_CANNOT_FIND_POM
See Also:
Constant Field Values

ERROR_CANNOT_FIND_PARENT_POM

public static final int ERROR_CANNOT_FIND_PARENT_POM
See Also:
Constant Field Values
Method Detail

handleError

public void handleError(int errorNumber,
                        java.lang.Exception exception)

discardError

public void discardError(int errorNumber)


Copyright © 2003-2005 The Codehaus. All Rights Reserved.