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

net.morimekta.providence.graphql.parser.GQLException Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
package net.morimekta.providence.graphql.parser;

import net.morimekta.util.lexer.LexerException;
import net.morimekta.util.lexer.Token;

import javax.annotation.Nonnull;

public class GQLException extends LexerException {
    public GQLException(@Nonnull String message, @Nonnull Throwable cause) {
        super(cause, message);
    }

    public GQLException(@Nonnull String message, @Nonnull Token token) {
        super(token, message);
    }

    public GQLException(@Nonnull String message) {
        super(message);
    }

    @Override
    public String toString() {
        return getClass().getSimpleName() + "\n" + displayString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy