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.2 $
22: */package org.apache.harmony.rmi.compiler;
23:
24: /**
25: * Basic exception for RMI Compiler operations.
26: *
27: * @author Vasily Zakharov
28: * @version $Revision: 1.1.2.2 $
29: */
30: public class RMICompilerException extends Exception {
31:
32: /**
33: * serialVersionUID
34: */
35: private static final long serialVersionUID = -7107015868027717508L;
36:
37: /**
38: * Constructs a new exception with <code>null</code> message.
39: */
40: public RMICompilerException() {
41: super ();
42: }
43:
44: /**
45: * Constructs a new exception with the specified message.
46: *
47: * @param message
48: * Message of this exception.
49: */
50: public RMICompilerException(String message) {
51: super (message);
52: }
53:
54: /**
55: * Constructs a new exception with the specified cause and message
56: * equal to the specified cause.
57: *
58: * @param cause
59: * Cause of this exception.
60: */
61: public RMICompilerException(Throwable cause) {
62: super (cause);
63: }
64:
65: /**
66: * Constructs a new exception with the specified message and cause.
67: *
68: * @param message
69: * Message of this exception.
70: *
71: * @param cause
72: * Cause of this exception.
73: */
74: public RMICompilerException(String message, Throwable cause) {
75: super(message, cause);
76: }
77: }
|