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

graphql.nadel.engine.InvalidDslException Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy