Package loci.poi.hpsf

Class HPSFException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MarkUnsupportedException, NoPropertySetStreamException, UnexpectedPropertySetTypeException, VariantTypeException

public class HPSFException extends 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 489730 2006-12-22 19:18:16Z bayard $
Author:
Rainer Klute <klute@rainer-klute.de>
See Also:
  • Constructor Details

    • HPSFException

      public HPSFException()

      Creates an HPSFException.

    • HPSFException

      public HPSFException(String msg)

      Creates an HPSFException with a message string.

      Parameters:
      msg - The message string.
    • HPSFException

      public HPSFException(Throwable reason)

      Creates a new HPSFException with a reason.

      Parameters:
      reason - The reason, i.e. a throwable that indirectly caused this exception.
    • HPSFException

      public HPSFException(String msg, Throwable reason)

      Creates an HPSFException with a message string and a reason.

      Parameters:
      msg - The message string.
      reason - The reason, i.e. a throwable that indirectly caused this exception.
  • Method Details

    • getReason

      public Throwable getReason()

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

      Returns:
      The reason