Package graphql.schema
Class CoercingSerializeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- graphql.GraphQLException
-
- graphql.GraphqlErrorException
-
- graphql.schema.CoercingSerializeException
-
- All Implemented Interfaces:
GraphQLError
,java.io.Serializable
@PublicApi public class CoercingSerializeException extends GraphqlErrorException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoercingSerializeException.Builder
-
Nested classes/interfaces inherited from class graphql.GraphqlErrorException
GraphqlErrorException.BuilderBase<T extends GraphqlErrorException.BuilderBase<T,B>,B extends GraphqlErrorException>
-
-
Constructor Summary
Constructors Constructor Description CoercingSerializeException()
CoercingSerializeException(java.lang.String message)
CoercingSerializeException(java.lang.String message, java.lang.Throwable cause)
CoercingSerializeException(java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorClassification
getErrorType()
static CoercingSerializeException.Builder
newCoercingSerializeException()
-
Methods inherited from class graphql.GraphqlErrorException
getExtensions, getLocations, getPath, newErrorException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface graphql.GraphQLError
getMessage, toSpecification
-
-
-
-
Constructor Detail
-
CoercingSerializeException
public CoercingSerializeException()
-
CoercingSerializeException
public CoercingSerializeException(java.lang.String message)
-
CoercingSerializeException
public CoercingSerializeException(java.lang.String message, java.lang.Throwable cause)
-
CoercingSerializeException
public CoercingSerializeException(java.lang.Throwable cause)
-
-
Method Detail
-
getErrorType
public ErrorClassification getErrorType()
- Specified by:
getErrorType
in interfaceGraphQLError
- Overrides:
getErrorType
in classGraphqlErrorException
- Returns:
- an object classifying this error
-
newCoercingSerializeException
public static CoercingSerializeException.Builder newCoercingSerializeException()
-
-