KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > poi > hpsf > NoSingleSectionException


1
2 /* ====================================================================
3    Copyright 2002-2004 Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        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 that require a single {@link Section} is called
23  * and the {@link PropertySet} does not contain exactly one {@link
24  * Section}.</p>
25  *
26  * <p>The constructors of this class are analogous to those of its
27  * superclass and documented there.</p>
28  *
29  * @author Rainer Klute <a
30  * HREF="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
31  * @version $Id: NoSingleSectionException.java,v 1.9 2004/04/09 13:05:16 glens Exp $
32  * @since 2002-02-09
33  */

34 public class NoSingleSectionException extends HPSFRuntimeException
35 {
36
37     /**
38      * <p>Constructor</p>
39      */

40     public NoSingleSectionException()
41     {
42         super();
43     }
44
45
46     /**
47      * <p>Constructor</p>
48      *
49      * @param msg The exception's message string
50      */

51     public NoSingleSectionException(final String JavaDoc msg)
52     {
53         super(msg);
54     }
55
56
57     /**
58      * <p>Constructor</p>
59      *
60      * @param reason This exception's underlying reason
61      */

62     public NoSingleSectionException(final Throwable JavaDoc reason)
63     {
64         super(reason);
65     }
66
67
68     /**
69      * <p>Constructor</p>
70      *
71      * @param msg The exception's message string
72      * @param reason This exception's underlying reason
73      */

74     public NoSingleSectionException(final String JavaDoc msg, final Throwable JavaDoc reason)
75     {
76         super(msg, reason);
77     }
78
79 }
80
Popular Tags