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 an {@link java.io.InputStream} does
22: * not support the {@link java.io.InputStream#mark} operation.</p>
23: *
24: * @author Rainer Klute <a
25: * href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
26: * @version $Id: MarkUnsupportedException.java 489730 2006-12-22 19:18:16Z bayard $
27: * @since 2002-02-09
28: */
29: public class MarkUnsupportedException extends HPSFException {
30:
31: /**
32: * <p>Constructor</p>
33: */
34: public MarkUnsupportedException() {
35: super ();
36: }
37:
38: /**
39: * <p>Constructor</p>
40: *
41: * @param msg The exception's message string
42: */
43: public MarkUnsupportedException(final String msg) {
44: super (msg);
45: }
46:
47: /**
48: * <p>Constructor</p>
49: *
50: * @param reason This exception's underlying reason
51: */
52: public MarkUnsupportedException(final Throwable reason) {
53: super (reason);
54: }
55:
56: /**
57: * <p>Constructor</p>
58: *
59: * @param msg The exception's message string
60: * @param reason This exception's underlying reason
61: */
62: public MarkUnsupportedException(final String msg,
63: final Throwable reason) {
64: super(msg, reason);
65: }
66:
67: }
|