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: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package java.util.prefs;
19:
20: /**
21: * An exception to indicate that the input XML file is not well-formed or
22: * validating to the appropriate document type, which is specified by
23: * <code>Preferences</code>.
24: *
25: * @see Preferences
26: *
27: * @since 1.4
28: */
29: public class InvalidPreferencesFormatException extends Exception {
30:
31: private static final long serialVersionUID = -791715184232119669L;
32:
33: /**
34: * Constructs a new <code>InvalidPreferencesFormatException</code> instance using an
35: * exception message.
36: *
37: * @param s the exception message.
38: */
39: public InvalidPreferencesFormatException(String s) {
40: super (s);
41: }
42:
43: /**
44: * Constructs a new <code>InvalidPreferencesFormatException</code> instance using a
45: * exception message and a nested <code>Throwable</code> instance.
46: *
47: * @param s the exception message.
48: * @param t the nested <code>Throwable</code> instance.
49: */
50: public InvalidPreferencesFormatException(String s, Throwable t) {
51: super (s, t);
52: }
53:
54: /**
55: * Constructs a new <code>InvalidPreferencesFormatException</code> instance using a
56: * nested <code>Throwable</code> instance.
57: *
58: * @param t the nested <code>Throwable</code> instance.
59: */
60: public InvalidPreferencesFormatException(Throwable t) {
61: super(t);
62: }
63: }
|