types
Class ErrorHandler.Trivial
java.lang.Object
types.ErrorHandler.Trivial
- All Implemented Interfaces:
- ErrorHandler
- Enclosing interface:
- ErrorHandler
public static class ErrorHandler.Trivial
- extends Object
- implements ErrorHandler
An error handler that handles nothing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorHandler.Trivial
public ErrorHandler.Trivial()
handleError
public boolean handleError(GUIFileException error)
- Description copied from interface:
ErrorHandler
- Handle the error. It is up to the implementor what to do with the
error; possibilities include printing it to the screen, adding it to a
list to be retrieved later, ignoring it, etc.
- Specified by:
handleError
in interface ErrorHandler
- Parameters:
error
- The error to handle.
- Returns:
true
if the error was handled. Implementors may use
this to be selective about which errors they handle.
anyErrors
public boolean anyErrors()
- Specified by:
anyErrors
in interface ErrorHandler
- Returns:
true
if this handler has handled any errors.