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
@ProviderType public class SlingGraphQLException extends RuntimeException
TheSlingGraphQLException
defines the class of errors that can be thrown by theorg.apache.sling.graphql.core
bundle.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlingGraphQLException(String message)
Creates aSlingGraphQLException
without a known cause.SlingGraphQLException(String message, Throwable cause)
Creates aSlingGraphQLException
with 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 Detail
-
SlingGraphQLException
public SlingGraphQLException(String message)
Creates aSlingGraphQLException
without a known cause.- Parameters:
message
- the exception's message
-
-