01: /* OperationException.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Tue Oct 14 18:30:35 2003, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2003 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.web.servlet;
20:
21: import org.zkoss.lang.Expectable;
22:
23: /**
24: * The expectable servlet exception denoting user's operation errors.
25: *
26: * @author tomyeh
27: */
28: public class OperationException extends ServletException implements
29: Expectable {
30: public OperationException(String msg, Throwable cause) {
31: super (msg, cause);
32: }
33:
34: public OperationException(String s) {
35: super (s);
36: }
37:
38: public OperationException(Throwable cause) {
39: super (cause);
40: }
41:
42: public OperationException() {
43: }
44:
45: public OperationException(int code, Object[] fmtArgs,
46: Throwable cause) {
47: super (code, fmtArgs, cause);
48: }
49:
50: public OperationException(int code, Object fmtArg, Throwable cause) {
51: super (code, fmtArg, cause);
52: }
53:
54: public OperationException(int code, Object[] fmtArgs) {
55: super (code, fmtArgs);
56: }
57:
58: public OperationException(int code, Object fmtArg) {
59: super (code, fmtArg);
60: }
61:
62: public OperationException(int code, Throwable cause) {
63: super (code, cause);
64: }
65:
66: public OperationException(int code) {
67: super(code);
68: }
69: }
|