public class VectorAccessException extends RuntimeException
Vector
instance is
detected, e.g., out-of-range index.Constructor and Description |
---|
VectorAccessException(int size,
int index)
Constructs an instance of
VectorAccessException for out-of-range access. |
VectorAccessException(String msg)
Constructs an instance of
VectorAccessException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public VectorAccessException(int size, int index)
VectorAccessException
for out-of-range access.size
- the vector sizeindex
- the out-of-range indexpublic VectorAccessException(String msg)
VectorAccessException
.msg
- the error messageCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.