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 org.apache.poi.hpsf;
19:
20: /**
21: * <p>This exception is thrown if one of the {@link PropertySet}'s
22: * convenience methods does not find a required {@link Section}.</p>
23: *
24: * <p>The constructors of this class are analogous to those of its
25: * superclass and documented there.</p>
26: *
27: * @author Rainer Klute <a
28: * href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
29: * @version $Id: NoSingleSectionException.java 353545 2004-04-09 13:05:39Z glens $
30: * @since 2006-02-08
31: */
32: public class MissingSectionException extends HPSFRuntimeException {
33:
34: /**
35: * <p>Constructor</p>
36: */
37: public MissingSectionException() {
38: super ();
39: }
40:
41: /**
42: * <p>Constructor</p>
43: *
44: * @param msg The exception's message string
45: */
46: public MissingSectionException(final String msg) {
47: super (msg);
48: }
49:
50: /**
51: * <p>Constructor</p>
52: *
53: * @param reason This exception's underlying reason
54: */
55: public MissingSectionException(final Throwable reason) {
56: super (reason);
57: }
58:
59: /**
60: * <p>Constructor</p>
61: *
62: * @param msg The exception's message string
63: * @param reason This exception's underlying reason
64: */
65: public MissingSectionException(final String msg,
66: final Throwable reason) {
67: super(msg, reason);
68: }
69:
70: }
|