Package one.microstream.collections
Class IndexExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
one.microstream.collections.IndexExceededException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CapacityExceededException
public class IndexExceededException extends IndexOutOfBoundsException
Why is it that one has to write every piece of the JDK in "proper" oneself?
Providing the essential describing values of a problem in a structed form is essential
for both programmatic and manual processing, not a personal flavor.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IndexExceededException()
IndexExceededException(long bound, long index)
IndexExceededException(long bound, long index, String message)
IndexExceededException(String message)
-
Method Summary
Modifier and Type Method Description long
bound()
String
getMessage()
long
index()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IndexExceededException
public IndexExceededException(long bound, long index) -
IndexExceededException
-
IndexExceededException
public IndexExceededException() -
IndexExceededException
-
-
Method Details
-
index
public long index() -
bound
public long bound() -
getMessage
- Overrides:
getMessage
in classThrowable
-