org.sonatype.gshell.console
Interface ConsoleErrorHandler

All Known Implementing Classes:
ShellErrorHandler

public interface ConsoleErrorHandler

Provides error handling customization.

Since:
2.0
Author:
Jason Dillon

Method Summary
 boolean handleError(Throwable error)
          Called when an error occurs while executing a ConsoleTask.
 

Method Detail

handleError

boolean handleError(Throwable error)
Called when an error occurs while executing a ConsoleTask.

Parameters:
error - The error which has occurred.
Returns:
True to allow the console to continue, false to abort it.


Copyright © 2008-2011 Sonatype. All Rights Reserved.