org.apache.poi.hpsf
Class HPSFException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.poi.hpsf.HPSFException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MarkUnsupportedException, NoPropertySetStreamException, UnexpectedPropertySetTypeException

public class HPSFException
extends java.lang.Exception

This exception is the superclass of all other checked exceptions thrown in this package. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.

Since:
2002-02-09
Version:
$Id: HPSFException.java,v 1.1 2002/02/14 04:00:59 mjohnson Exp $
Author:
Rainer Klute (klute@rainer-klute.de)
See Also:
Serialized Form

Constructor Summary
HPSFException()
          Creates a new HPSFException.
HPSFException(java.lang.String msg)
          Creates a new HPSFException with a message string.
HPSFException(java.lang.String msg, java.lang.Throwable reason)
          Creates a new HPSFException with a message string and a reason.
HPSFException(java.lang.Throwable reason)
          Creates a new HPSFException with a reason.
 
Method Summary
 java.lang.Throwable getReason()
          Returns the Throwable that caused this exception to be thrown or null if there was no such Throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HPSFException

public HPSFException()

Creates a new HPSFException.


HPSFException

public HPSFException(java.lang.String msg)

Creates a new HPSFException with a message string.


HPSFException

public HPSFException(java.lang.Throwable reason)

Creates a new HPSFException with a reason.


HPSFException

public HPSFException(java.lang.String msg,
                     java.lang.Throwable reason)

Creates a new HPSFException with a message string and a reason.

Method Detail

getReason

public java.lang.Throwable getReason()

Returns the Throwable that caused this exception to be thrown or null if there was no such Throwable.



Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.