Class EmptyInterfaceTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class EmptyInterfaceTypeException
    extends GraphQLKotlinException
                        

    Thrown when interface type does not expose any fields - this should never happen unless we explicitly exclude fields from interface either through annotating fields with @GraphQLIgnore or by custom hooks that filter out available functions. Since GraphQL always requires you to select fields down to scalar values, an object type without any defined fields cannot be accessed in any way in a query.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmptyInterfaceTypeException

        EmptyInterfaceTypeException(KType ktype)
    • Method Detail