Package org.apache.sling.graphql.api
Class SlingGraphQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.graphql.api.SlingGraphQLException
- All Implemented Interfaces:
Serializable
The
SlingGraphQLException defines the class of errors that can be thrown by the org.apache.sling.graphql.core bundle.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSlingGraphQLException(String message) Creates aSlingGraphQLExceptionwithout a known cause.SlingGraphQLException(String message, Throwable cause) Creates aSlingGraphQLExceptionwith a known cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SlingGraphQLException
Creates aSlingGraphQLExceptionwithout a known cause.- Parameters:
message- the exception's message
-
SlingGraphQLException
Creates aSlingGraphQLExceptionwith a known cause.- Parameters:
message- the exception's messagecause- the cause of this exception
-