Class NegativeLengthArrayMetapathException

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.NegativeLengthArrayMetapathException
All Implemented Interfaces:
Serializable

public class NegativeLengthArrayMetapathException 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:
  • Constructor Details

    • NegativeLengthArrayMetapathException

      public NegativeLengthArrayMetapathException(@NonNull IArrayItem<?> item, String message)
      Constructs a new exception with the provided code, message, and no cause.
      Parameters:
      item - the array item involved
      message - the exception message
    • NegativeLengthArrayMetapathException

      public NegativeLengthArrayMetapathException(@NonNull IArrayItem<?> item, String message, Throwable cause)
      Constructs a new exception with the provided code, message, and cause.
      Parameters:
      item - the array item involved
      message - the exception message
      cause - the original exception cause
    • NegativeLengthArrayMetapathException

      public NegativeLengthArrayMetapathException(@NonNull IArrayItem<?> item, Throwable cause)
      Constructs a new exception with the provided code, no message, and the cause.
      Parameters:
      item - the array item involved
      cause - the original exception cause