graphql.nadel.engine.InvalidDslException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nadel-engine Show documentation
Show all versions of nadel-engine Show documentation
Nadel is a Java library that combines multiple GrahpQL services together into one API.
The newest version!
package graphql.nadel.engine;
import graphql.Internal;
import graphql.language.SourceLocation;
@Internal
public class InvalidDslException extends RuntimeException {
private final SourceLocation location;
public InvalidDslException(String message, SourceLocation location) {
super(String.format("[%d:%d] %s", location.getLine(), location.getColumn(), message));
this.location = location;
}
public SourceLocation location() {
return location;
}
}