Class HDF5LibraryException

    • Constructor Summary

      Constructors 
      Constructor Description
      HDF5LibraryException()
      Constructs an HDF5LibraryException with no specified detail message.
      HDF5LibraryException​(java.lang.String s)
      Constructs an HDF5LibraryException with the specified detail message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMajorErrorNumber()
      Get the major error number of the first error on the HDF5 library error stack.
      java.lang.String getMinorError​(int err_code)
      Return a error message for the minor error number.
      int getMinorErrorNumber()
      Get the minor error number of the first error on the HDF5 library error stack.
      void printStackTrace()
      Prints this HDF5LibraryException, the HDF-5 Library error stack, and and the Java stack trace to the standard error stream.
      void printStackTrace​(java.io.File f)
      Prints this HDF5LibraryException the HDF-5 Library error stack, and and the Java stack trace to the specified print stream.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HDF5LibraryException

        public HDF5LibraryException()
        Constructs an HDF5LibraryException with no specified detail message.
      • HDF5LibraryException

        public HDF5LibraryException​(java.lang.String s)
        Constructs an HDF5LibraryException with the specified detail message.
        Parameters:
        s - the detail message.
    • Method Detail

      • getMajorErrorNumber

        public int getMajorErrorNumber()
        Get the major error number of the first error on the HDF5 library error stack.
        Returns:
        the major error number
      • getMinorErrorNumber

        public int getMinorErrorNumber()
        Get the minor error number of the first error on the HDF5 library error stack.
        Returns:
        the minor error number
      • getMinorError

        public java.lang.String getMinorError​(int err_code)
        Return a error message for the minor error number.

        These messages come from H5Epublic.h.

        Parameters:
        err_code - the error code
        Returns:
        the string of the minor error
      • printStackTrace

        public void printStackTrace()
        Prints this HDF5LibraryException, the HDF-5 Library error stack, and and the Java stack trace to the standard error stream.
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.File f)
        Prints this HDF5LibraryException the HDF-5 Library error stack, and and the Java stack trace to the specified print stream.
        Parameters:
        f - the file print stream.