01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.vfny.geoserver;
06:
07: /**
08: * DOCUMENT ME!
09: *
10: * @author Gabriel Rold�n
11: * @version $revision$
12: */
13: public interface ExceptionHandler {
14: /**
15: * DOCUMENT ME!
16: *
17: * @param message DOCUMENT ME!
18: *
19: * @return DOCUMENT ME!
20: */
21: public ServiceException newServiceException(String message);
22:
23: /**
24: * DOCUMENT ME!
25: *
26: * @param message DOCUMENT ME!
27: * @param locator DOCUMENT ME!
28: *
29: * @return DOCUMENT ME!
30: */
31: public ServiceException newServiceException(String message,
32: String locator);
33:
34: /**
35: * DOCUMENT ME!
36: *
37: * @param e DOCUMENT ME!
38: *
39: * @return DOCUMENT ME!
40: */
41: public ServiceException newServiceException(Throwable e);
42:
43: /**
44: * DOCUMENT ME!
45: *
46: * @param e DOCUMENT ME!
47: * @param preMessage DOCUMENT ME!
48: * @param locator DOCUMENT ME!
49: *
50: * @return DOCUMENT ME!
51: */
52: public ServiceException newServiceException(Throwable e,
53: String preMessage, String locator);
54:
55: /*# ServiceException lnkServiceException; */
56: }
|