All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.wener.jraphql.parse.GraphParserException Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
package me.wener.jraphql.parse;

import me.wener.jraphql.lang.SourceLocation;

/**
 * @author wener
 * @since 30/03/2018
 */
public class GraphParserException extends RuntimeException {

  private final SourceLocation sourceLocation;

  public GraphParserException(String message, SourceLocation sourceLocation) {
    super(message);
    this.sourceLocation = sourceLocation;
  }

  public GraphParserException(String message, Throwable cause, SourceLocation sourceLocation) {
    super(message, cause);
    this.sourceLocation = sourceLocation;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy