com.apollographql.federation.graphqljava.exceptions.MissingKeyException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of federation-graphql-java-support Show documentation
Show all versions of federation-graphql-java-support Show documentation
GraphQL Java server support for Apollo Federation
The newest version!
package com.apollographql.federation.graphqljava.exceptions;
/**
* Exception thrown when GraphQL object type does not specify all @keys specified on its interface.
*/
public class MissingKeyException extends RuntimeException {
public MissingKeyException(String objectType, String interfaceType) {
super(
String.format(
"Object %s does not specify @key fields specified by its interface %s",
objectType, interfaceType));
}
}