Class ZLibException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ZLibException
    extends java.lang.Exception
    This exception may be dispatched by zLib routines.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ZLibException()
      Default constructor.
      ZLibException​(java.lang.String msg, java.lang.String internalError)
      Constructor which accepts an error message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getInternalError()
      Returns the position where the error was found.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

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

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

      • ZLibException

        public ZLibException()
        Default constructor.
      • ZLibException

        public ZLibException​(java.lang.String msg,
                             java.lang.String internalError)
        Constructor which accepts an error message.
        Parameters:
        msg - the error message
    • Method Detail

      • getInternalError

        public java.lang.String getInternalError()
        Returns the position where the error was found.
        Returns:
        the position where the error was found.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable