Class ExceptionMetadata

java.lang.Object
org.rumbledb.exceptions.ExceptionMetadata
All Implemented Interfaces:
Serializable

public class ExceptionMetadata extends Object implements Serializable
Metadata for error reporting (line and column number)
Author:
Stefan Irimescu, Ghislain Fourny
See Also:
  • Field Details

  • Constructor Details

    • ExceptionMetadata

      public ExceptionMetadata(String location, int startLine, int startColumn, int endLine, int endColumn, String code)
      Builds a new metadata object
      Parameters:
      location - the URI of the JSONiq module at which the exception occurred.
      startLine - the starting line number at which the error occurred.
      startColumn - the starting column number at which the error occurred.
      endLine - the ending line number at which the error occurred.
      endColumn - the ending column number at which the error occurred.
      code - the query code around the error.
    • ExceptionMetadata

      public ExceptionMetadata(String location, SourceRange range, String code)
  • Method Details