Class SlingGraphQLException

  • All Implemented Interfaces:
    Serializable

    @ProviderType
    public class SlingGraphQLException
    extends RuntimeException
    The SlingGraphQLException defines the class of errors that can be thrown by the org.apache.sling.graphql.core bundle.
    See Also:
    Serialized Form
    • Constructor Detail

      • SlingGraphQLException

        public SlingGraphQLException​(String message)
        Creates a SlingGraphQLException without a known cause.
        Parameters:
        message - the exception's message
      • SlingGraphQLException

        public SlingGraphQLException​(String message,
                                     Throwable cause)
        Creates a SlingGraphQLException with a known cause.
        Parameters:
        message - the exception's message
        cause - the cause of this exception