01: /*
02: * $Id: AuthorizationException.java 458615 2006-01-12 23:57:32Z jonl $
03: * $Revision: 458615 $ $Date: 2006-01-13 00:57:32 +0100 (Fri, 13 Jan 2006) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.authorization;
19:
20: import wicket.WicketRuntimeException;
21:
22: /**
23: * Base class for exceptions thrown as a result of authorization failure.
24: */
25: public abstract class AuthorizationException extends
26: WicketRuntimeException {
27: private static final long serialVersionUID = 1L;
28:
29: /**
30: * Construct.
31: */
32: public AuthorizationException() {
33: super ();
34: }
35:
36: /**
37: *
38: * Construct.
39: *
40: * @param message
41: */
42: public AuthorizationException(String message) {
43: super (message);
44: }
45:
46: /**
47: * Construct.
48: *
49: * @param message
50: * @param cause
51: */
52: public AuthorizationException(String message, Throwable cause) {
53: super (message, cause);
54: }
55:
56: /**
57: * Construct.
58: *
59: * @param cause
60: */
61: public AuthorizationException(Throwable cause) {
62: super(cause);
63: }
64: }
|