Class NonNullableFieldWasNullException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NonNullableFieldWasNullException
    extends java.lang.RuntimeException
    See (https://spec.graphql.org/October2021/#sec-Errors-and-Non-Nullability), but if a non nullable field actually resolves to a null value and the parent type is nullable then the parent must in fact become null so we use exceptions to indicate this special case
    See Also:
    Serialized Form
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable