graphql.parser.exceptions.ParseCancelledTooDeepException Maven / Gradle / Ivy
package graphql.parser.exceptions;
import graphql.Internal;
import graphql.i18n.I18n;
import graphql.language.SourceLocation;
import graphql.parser.InvalidSyntaxException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@Internal
public class ParseCancelledTooDeepException extends InvalidSyntaxException {
@Internal
public ParseCancelledTooDeepException(@NotNull I18n i18N, @Nullable SourceLocation sourceLocation, @Nullable String offendingToken, int maxTokens, @NotNull String tokenType) {
super(i18N.msg("ParseCancelled.tooDeep", maxTokens, tokenType),
sourceLocation, offendingToken, null, null);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy