01: package com.jat.presentation.parameter;
02:
03: import java.util.Hashtable;
04:
05: import com.jat.presentation.PresentationException;
06:
07: /**
08: * <p>Title: JAT</p>
09: * <p>Description: </p>
10: * <p>Copyright: Copyright (c) 2004 -2005 Stefano Fratini (stefano.fratini@gmail.com)</p>
11: * <p>Distributed under the terms of the GNU Lesser General Public License, v2.1 or later</p>
12: * @author stf
13: * @version 1.0
14: * @since 1.2
15: */
16:
17: public class CheckParameterException extends PresentationException {
18:
19: protected CheckParameterException(Exception ex) {
20: super (ex);
21: }
22:
23: protected CheckParameterException(String message) {
24: super (message);
25: }
26:
27: public CheckParameterException(Hashtable errors) {
28: super ("Please, verify errors");
29: this .errors = errors;
30: }
31:
32: public Hashtable getErrors() {
33: return this .errors;
34: }
35:
36: private Hashtable errors;
37:
38: }
|