Module dev.metaschema.core
Class IndexOutOfBoundsArrayMetapathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.metaschema.core.metapath.MetapathException
dev.metaschema.core.metapath.function.FunctionMetapathError
dev.metaschema.core.metapath.item.function.impl.ArrayMetapathException
dev.metaschema.core.metapath.item.function.IndexOutOfBoundsArrayMetapathException
- All Implemented Interfaces:
Serializable
public class IndexOutOfBoundsArrayMetapathException
extends dev.metaschema.core.metapath.item.function.impl.ArrayMetapathException
err:FOAY0001:
This error is raised when an integer used to select a member of an array is
outside the range of values for that array.
- See Also:
-
Field Summary
Fields inherited from class dev.metaschema.core.metapath.item.function.impl.ArrayMetapathException
INDEX_OUT_OF_BOUNDS, NEGATIVE_ARRAY_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionIndexOutOfBoundsArrayMetapathException(IArrayItem<?> item, String message) Constructs a new exception with the provideditem,message, and no cause.IndexOutOfBoundsArrayMetapathException(IArrayItem<?> item, String message, Throwable cause) Constructs a new exception with the provideditem,message, andcause.IndexOutOfBoundsArrayMetapathException(IArrayItem<?> item, Throwable cause) Constructs a new exception with the provideditem, no message, and thecause. -
Method Summary
Methods inherited from class dev.metaschema.core.metapath.item.function.impl.ArrayMetapathException
getArrayItemMethods inherited from class dev.metaschema.core.metapath.MetapathException
getErrorCode, getEvaluationStack, getMessage, getMessageText, registerEvaluationContext, registerEvaluationContext, registerEvaluationContextMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IndexOutOfBoundsArrayMetapathException
Constructs a new exception with the provideditem,message, and no cause.- Parameters:
item- the array item involvedmessage- the exception message
-
IndexOutOfBoundsArrayMetapathException
public IndexOutOfBoundsArrayMetapathException(@NonNull IArrayItem<?> item, String message, Throwable cause) Constructs a new exception with the provideditem,message, andcause.- Parameters:
item- the array item involvedmessage- the exception messagecause- the original exception cause
-
IndexOutOfBoundsArrayMetapathException
Constructs a new exception with the provideditem, no message, and thecause.- Parameters:
item- the array item involvedcause- the original exception cause
-