Class GraphQLRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencastproject.graphql.exception.GraphQLRuntimeException
- All Implemented Interfaces:
graphql.GraphQLError,Serializable
- Direct Known Subclasses:
GraphQLNotFoundException,GraphQLUnauthorizedException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
graphql.GraphQLError.Builder<B extends graphql.GraphQLError.Builder<B>> -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLRuntimeException(String message) GraphQLRuntimeException(String message, Map<String, Object> extensions) GraphQLRuntimeException(String message, OpencastErrorType errorType) GraphQLRuntimeException(String message, OpencastErrorType errorType, Throwable cause) GraphQLRuntimeException(String message, OpencastErrorType errorType, Map<String, Object> extensions) GraphQLRuntimeException(String message, OpencastErrorType errorType, Map<String, Object> extensions, Throwable cause) GraphQLRuntimeException(Throwable cause) GraphQLRuntimeException(OpencastErrorType errorType) GraphQLRuntimeException(OpencastErrorType errorType, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface graphql.GraphQLError
getMessage
-
Constructor Details
-
GraphQLRuntimeException
-
GraphQLRuntimeException
-
GraphQLRuntimeException
-
GraphQLRuntimeException
-
GraphQLRuntimeException
-
GraphQLRuntimeException
-
GraphQLRuntimeException
public GraphQLRuntimeException(String message, OpencastErrorType errorType, Map<String, Object> extensions) -
GraphQLRuntimeException
-
GraphQLRuntimeException
-
GraphQLRuntimeException
-
-
Method Details
-
getLocations
- Specified by:
getLocationsin interfacegraphql.GraphQLError
-
getErrorType
public graphql.ErrorClassification getErrorType()- Specified by:
getErrorTypein interfacegraphql.GraphQLError
-
getPath
- Specified by:
getPathin interfacegraphql.GraphQLError
-
toSpecification
- Specified by:
toSpecificationin interfacegraphql.GraphQLError
-
getExtensions
- Specified by:
getExtensionsin interfacegraphql.GraphQLError
-