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