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

graphql.parser.exceptions.ParseCancelledTooDeepException Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
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