Class HPSFRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalPropertySetDataException, MissingSectionException, NoFormatIDException, NoSingleSectionException

public class HPSFRuntimeException extends RuntimeException

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

See Also:
  • Constructor Details

    • HPSFRuntimeException

      public HPSFRuntimeException()

      Creates a new HPSFRuntimeException.

    • HPSFRuntimeException

      public HPSFRuntimeException(String msg)

      Creates a new HPSFRuntimeException with a message string.

      Parameters:
      msg - The message string.
    • HPSFRuntimeException

      public HPSFRuntimeException(Throwable reason)

      Creates a new HPSFRuntimeException with a reason.

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

      public HPSFRuntimeException(String msg, Throwable reason)

      Creates a new HPSFRuntimeException 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