Class QueryComplexityLimitsExceeded
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.validation.QueryComplexityLimitsExceeded
- All Implemented Interfaces:
Serializable
Exception thrown when query complexity limits (depth or field count) are exceeded during validation.
This exception is caught by the Validator and converted to a ValidationError.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryComplexityLimitsExceeded(ValidationErrorType errorType, int limit, int actual) -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryComplexityLimitsExceeded
-
-
Method Details
-
getErrorType
-
getLimit
public int getLimit() -
getActual
public int getActual() -
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-