Package loci.poi.hpsf

Class HPSFRuntimeException

    • Constructor Detail

      • HPSFRuntimeException

        public HPSFRuntimeException​(java.lang.String msg)

        Creates a new HPSFRuntimeException with a message string.

        Parameters:
        msg - The message string.
      • HPSFRuntimeException

        public HPSFRuntimeException​(java.lang.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​(java.lang.String msg,
                                    java.lang.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 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.

        Returns:
        The reason
      • printStackTrace

        public void printStackTrace()
        Overrides:
        printStackTrace in class java.lang.Throwable
        See Also:
        Throwable.printStackTrace()
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream p)
        Overrides:
        printStackTrace in class java.lang.Throwable
        See Also:
        Throwable.printStackTrace(java.io.PrintStream)
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter p)
        Overrides:
        printStackTrace in class java.lang.Throwable
        See Also:
        Throwable.printStackTrace(java.io.PrintWriter)