KickJava   Java API By Example, From Geeks To Geeks.

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


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 {@link MutablePropertySet} is to be written
22  * but does not have a formatID set (see {@link
23  * MutableSection#setFormatID(ClassID)} or
24  * {@link org.apache.poi.hpsf.MutableSection#setFormatID(byte[])}.
25  *
26  * @author Rainer Klute <a
27  * HREF="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
28  * @version $Id: NoFormatIDException.java,v 1.2 2004/04/09 13:05:16 glens Exp $
29  * @since 2002-09-03
30  */

31 public class NoFormatIDException extends HPSFRuntimeException
32 {
33
34     /**
35      * <p>Constructor</p>
36      */

37     public NoFormatIDException()
38     {
39         super();
40     }
41
42
43     /**
44      * <p>Constructor</p>
45      *
46      * @param msg The exception's message string
47      */

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

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

71     public NoFormatIDException(final String JavaDoc msg, final Throwable JavaDoc reason)
72     {
73         super(msg, reason);
74     }
75
76 }
77
Popular Tags