Class FunctionMetapathError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArithmeticFunctionException, dev.metaschema.core.metapath.item.function.impl.ArrayMetapathException, CastFunctionException, DateTimeFunctionException, DocumentFunctionException, InvalidArgumentFunctionException, InvalidTypeFunctionException, JsonFunctionException, UnidentifiedFunctionError, UriFunctionException

public class FunctionMetapathError extends MetapathException
Represents an error that occurs during Metapath function evaluation.
See Also:
  • Constructor Details

    • FunctionMetapathError

      public FunctionMetapathError(@NonNull IErrorCode errorCode, @Nullable String message)
      Constructs a new Metapath exception with the provided code, message, and no cause.
      Parameters:
      errorCode - the error code that identifies the type of error
      message - the exception message
    • FunctionMetapathError

      public FunctionMetapathError(@NonNull IErrorCode errorCode, @Nullable String message, @Nullable Throwable cause)
      Constructs a new Metapath exception with the provided code, message, and cause.
      Parameters:
      errorCode - the error code that identifies the type of error
      message - the exception message
      cause - the original exception cause
    • FunctionMetapathError

      public FunctionMetapathError(@NonNull IErrorCode errorCode, @Nullable Throwable cause)
      Constructs a new Metapath exception with a null message and the provided cause.
      Parameters:
      errorCode - the error code that identifies the type of error
      cause - the original exception cause