Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* * Created on 07/06/2004 */ package ls.util.msg; /** * An interface for a class that can handle errors * * @author Lior Schejter */ public interface ErrorHandler { /** * Handle an exception * @param exn * @return FALSE if handling of this exception should stop, TRUE if it can continue */ boolean handleException(Exception exn); /** * Handle a generic error message * @param errMsg The error message */ void handleError(String errMsg); }