01: /*
02: * Copyright 2005 Joe Walker
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.directwebremoting.json;
17:
18: /**
19: * @author Joe Walker [joe at getahead dot ltd dot uk]
20: */
21: public class InvalidJsonException extends Exception {
22: /**
23: *
24: */
25: public InvalidJsonException() {
26: }
27:
28: /**
29: * @param reason The reason for the failure
30: */
31: public InvalidJsonException(String reason) {
32: super (reason);
33: }
34:
35: /**
36: * @param ex The cause of the failure
37: */
38: public InvalidJsonException(Throwable ex) {
39: super (ex);
40: }
41:
42: /**
43: * @param reason The reason for the failure
44: * @param ex The cause of the failure
45: */
46: public InvalidJsonException(String reason, Throwable ex) {
47: super(reason, ex);
48: }
49: }
|