KickJava   Java API By Example, From Geeks To Geeks.

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


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 a certain type of property set is
22  * expected (e.g. a Document Summary Information) but the provided
23  * property set is not of that type.</p>
24  *
25  * <p>The constructors of this class are analogous to those of its
26  * superclass and documented there.</p>
27  *
28  * @author Rainer Klute <a
29  * HREF="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
30  * @version $Id: UnexpectedPropertySetTypeException.java,v 1.9 2004/04/09 13:05:16 glens Exp $
31  * @since 2002-02-09
32  */

33 public class UnexpectedPropertySetTypeException extends HPSFException
34 {
35
36     /**
37      * <p>Creates an {@link UnexpectedPropertySetTypeException}.</p>
38      */

39     public UnexpectedPropertySetTypeException()
40     {
41         super();
42     }
43
44
45     /**
46      * <p>Creates an {@link UnexpectedPropertySetTypeException} with a message
47      * string.</p>
48      *
49      * @param msg The message string.
50      */

51     public UnexpectedPropertySetTypeException(final String JavaDoc msg)
52     {
53         super(msg);
54     }
55
56
57     /**
58      * <p>Creates a new {@link UnexpectedPropertySetTypeException} with a
59      * reason.</p>
60      *
61      * @param reason The reason, i.e. a throwable that indirectly
62      * caused this exception.
63      */

64     public UnexpectedPropertySetTypeException(final Throwable JavaDoc reason)
65     {
66         super(reason);
67     }
68
69
70     /**
71      * <p>Creates an {@link UnexpectedPropertySetTypeException} with a message
72      * string and a reason.</p>
73      *
74      * @param msg The message string.
75      * @param reason The reason, i.e. a throwable that indirectly
76      * caused this exception.
77      */

78     public UnexpectedPropertySetTypeException(final String JavaDoc msg,
79                                               final Throwable JavaDoc reason)
80     {
81         super(msg, reason);
82     }
83
84 }
85
Popular Tags