01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: *
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * @author Vasily Zakharov
21: * @version $Revision: 1.1.2.3 $
22: */package org.apache.harmony.rmi.common;
23:
24: /**
25: * General exception for Java Compiler classes.
26: *
27: * @author Vasily Zakharov
28: * @version $Revision: 1.1.2.3 $
29: */
30: public class JavaCompilerException extends Exception {
31:
32: /**
33: * serialVersionUID
34: */
35: private static final long serialVersionUID = 3632651458880391763L;
36:
37: /**
38: * Creates this exception with <code>null</code> message and cause.
39: */
40: public JavaCompilerException() {
41: super ();
42: }
43:
44: /**
45: * Creates this exception with the specified message
46: * and <code>null</code> cause.
47: *
48: * @param message
49: * Detail message.
50: */
51: public JavaCompilerException(String message) {
52: super (message);
53: }
54:
55: /**
56: * Creates this exception with the specified message and cause.
57: *
58: * @param message
59: * Detail message.
60: *
61: * @param cause
62: * Cause.
63: */
64: public JavaCompilerException(String message, Throwable cause) {
65: super (message, cause);
66: }
67:
68: /**
69: * Creates this exception with the specified cause
70: * and message equal to the cause's message.
71: *
72: * @param cause
73: * Cause.
74: */
75: public JavaCompilerException(Throwable cause) {
76: super(cause);
77: }
78: }
|