com.graphql_java_generator.client.response.GraphQLRequestPreparationException Maven / Gradle / Ivy
/**
*
*/
package com.graphql_java_generator.client.response;
import com.graphql_java_generator.client.request.Builder;
import com.graphql_java_generator.client.request.ObjectResponse;
/**
* Thrown when an error occurs during the request preparation. This is typically, when the {@link Builder} is called
* with invalid values (non existing fields, field from other objects...) or when a call to a query is attempted with a
* {@link ObjectResponse} build for another GraphQL type
*
* @author EtienneSF
*/
public class GraphQLRequestPreparationException extends Exception {
private static final long serialVersionUID = 1L;
public GraphQLRequestPreparationException(String msg) {
super(msg);
}
public GraphQLRequestPreparationException(String msg, Throwable cause) {
super(msg, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy