Package org.roaringbitmap
Class InvalidRoaringFormat
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.roaringbitmap.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
-
-
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)
-