Package graphql.schema.validation
Class InvalidSchemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- graphql.GraphQLException
-
- graphql.schema.validation.InvalidSchemaException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidSchemaException extends GraphQLException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<SchemaValidationError>
errors
-
Constructor Summary
Constructors Constructor Description InvalidSchemaException(java.util.Collection<SchemaValidationError> errors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
buildErrorMsg(java.util.Collection<SchemaValidationError> errors)
(package private) java.util.Collection<SchemaValidationError>
getErrors()
-
-
-
Field Detail
-
errors
private final java.util.Collection<SchemaValidationError> errors
-
-
Constructor Detail
-
InvalidSchemaException
public InvalidSchemaException(java.util.Collection<SchemaValidationError> errors)
-
-
Method Detail
-
getErrors
java.util.Collection<SchemaValidationError> getErrors()
-
buildErrorMsg
private static java.lang.String buildErrorMsg(java.util.Collection<SchemaValidationError> errors)
-
-