Package 

Class EmptyObjectTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class EmptyObjectTypeException
    extends GraphQLKotlinException
                        

    Thrown when schema object type does not expose any fields. 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.

    • Method Summary

      Modifier and Type Method Description
      Throwable getCause()
      String getMessage()
      • Methods inherited from class java.lang.Exception

        addSuppressed, fillInStackTrace, getLocalizedMessage, 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