net.morimekta.providence.graphql.parser.GQLException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of providence-graphql Show documentation
Show all versions of providence-graphql Show documentation
Providence Core extension for GraphQL.
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();
}
}