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 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"><klute@rainer-klute.de></a>
30: * @version $Id: UnexpectedPropertySetTypeException.java 489730 2006-12-22 19:18:16Z bayard $
31: * @since 2002-02-09
32: */
33: public class UnexpectedPropertySetTypeException extends HPSFException {
34:
35: /**
36: * <p>Creates an {@link UnexpectedPropertySetTypeException}.</p>
37: */
38: public UnexpectedPropertySetTypeException() {
39: super ();
40: }
41:
42: /**
43: * <p>Creates an {@link UnexpectedPropertySetTypeException} with a message
44: * string.</p>
45: *
46: * @param msg The message string.
47: */
48: public UnexpectedPropertySetTypeException(final String msg) {
49: super (msg);
50: }
51:
52: /**
53: * <p>Creates a new {@link UnexpectedPropertySetTypeException} with a
54: * reason.</p>
55: *
56: * @param reason The reason, i.e. a throwable that indirectly
57: * caused this exception.
58: */
59: public UnexpectedPropertySetTypeException(final Throwable reason) {
60: super (reason);
61: }
62:
63: /**
64: * <p>Creates an {@link UnexpectedPropertySetTypeException} with a message
65: * string and a reason.</p>
66: *
67: * @param msg The message string.
68: * @param reason The reason, i.e. a throwable that indirectly
69: * caused this exception.
70: */
71: public UnexpectedPropertySetTypeException(final String msg,
72: final Throwable reason) {
73: super(msg, reason);
74: }
75:
76: }
|