Class InvalidRoaringFormat

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidRoaringFormat
    extends java.lang.RuntimeException
    Exception thrown when attempting to deserialize a roaring bitmap from an input stream missing a cookie or having other similar anomalies. Some code may translate it to an IOException for convenience when the cause of the problem can be cleanly interpreted as an IO issue. However, when memory-mapping the file from a ByteBuffer, the exception is used as a RuntimeException.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      necessary serial id
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidRoaringFormat​(java.lang.String string)
      Exception constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.IOException toIOException()
      Convert the exception to an IOException (convenience function)
      • Methods inherited from class java.lang.Throwable

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

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

      • serialVersionUID

        private static final long serialVersionUID
        necessary serial id
        See Also:
        Constant Field Values
    • Constructor Detail

      • InvalidRoaringFormat

        public InvalidRoaringFormat​(java.lang.String string)
        Exception constructor.
        Parameters:
        string - message
    • Method Detail

      • toIOException

        public java.io.IOException toIOException()
        Convert the exception to an IOException (convenience function)
        Returns:
        an IOException with a related error message.