Package org.apache.datasketches.memory
Class BufferPositionInvariantsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.datasketches.memory.MemoryException
-
- org.apache.datasketches.memory.BufferPositionInvariantsException
-
- All Implemented Interfaces:
Serializable
public class BufferPositionInvariantsException extends MemoryException
Position operation violation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BufferPositionInvariantsException(String details)
The associated position operation violated one of the positional invariants.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BufferPositionInvariantsException
public BufferPositionInvariantsException(String details)
The associated position operation violated one of the positional invariants.The invariants equation is
0 <= start <= position <= end <= capacity
.- Parameters:
details
- of the violation.
-
-