Class UnsupportedLinkImportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.apollographql.federation.graphqljava.exceptions.UnsupportedLinkImportException
All Implemented Interfaces:
Serializable

public class UnsupportedLinkImportException extends RuntimeException
Exception thrown when processing invalid `@link` import definitions.

Unsupported imports:
- specifying object import without specifying String name
- specifying object rename that is not a String
- attempting to import definition that is not a String nor an object definition
- attempting to import

See Also:
  • Constructor Details

    • UnsupportedLinkImportException

      public UnsupportedLinkImportException(graphql.language.Value importedDefinition)
    • UnsupportedLinkImportException

      public UnsupportedLinkImportException(String importedDefinition, int minVersion, int version)