Menu

[r73]: / GraphScript / trunk / ls / util / msg / ErrorHandler.java  Maximize  Restore  History

Download this file

25 lines (23 with data), 490 Bytes

 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);
}
MongoDB Logo MongoDB