Package io.mosip.kernel.core.exception
Class ArrayIndexOutOfBoundsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.mosip.kernel.core.exception.BaseUncheckedException
-
- io.mosip.kernel.core.exception.ArrayIndexOutOfBoundsException
-
- All Implemented Interfaces:
Serializable
public class ArrayIndexOutOfBoundsException extends BaseUncheckedException
Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array- Since:
- 1.0.0
- Author:
- Sidhant Agarwal
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
EMPTY_SPACE
-
-
Constructor Summary
Constructors Constructor Description ArrayIndexOutOfBoundsException(String errorCode, String errorMessage, Throwable rootCause)
-
Method Summary
-
Methods inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
addInfo, getCodes, getErrorCode, getErrorText, getErrorTexts, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ArrayIndexOutOfBoundsException
public ArrayIndexOutOfBoundsException(String errorCode, String errorMessage, Throwable rootCause)
- Parameters:
errorCode- The error code defined for the exceptionerrorMessage- The error message defined for the exceptionrootCause- Traceback to the method throwing the error
-
-