Package io.smallrye.graphql.client.impl
Interface SmallRyeGraphQLClientMessages
- All Known Implementing Classes:
SmallRyeGraphQLClientMessages_$bundle
@MessageBundle(projectCode="SRGQLDC")
public interface SmallRyeGraphQLClientMessages
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncannotInstantiateDomainObject(String object, Throwable t) cannotParseResponse(String response, Throwable cause) fieldNotFoundInResponse(String field, Set<String> availableFields) missingDataForOperation(String operation) responseContainsArray(String field) unexpectedValueInResponse(String path, String value)
-
Field Details
-
msg
-
-
Method Details
-
cannotParseResponse
@Message(id=35000, value="Cannot parse response: %s") RuntimeException cannotParseResponse(String response, @Cause Throwable cause) -
urlNotConfiguredForNamedClient
@Message(id=35001, value="URL not configured for client. Please define the property %s/mp-graphql/url or pass it to your client builder dynamically") NoSuchElementException urlNotConfiguredForNamedClient(String name) -
urlNotConfiguredForProgrammaticClient
@Message(id=35002, value="URL not configured for client. Please pass a url using your client builder.") NoSuchElementException urlNotConfiguredForProgrammaticClient() -
noDataInResponse
@Message(id=35003, value="Response did not contain any data") NoSuchElementException noDataInResponse() -
fieldNotFoundInResponse
@Message(id=35004, value="Field %s not found in response\'s data. Available fields are: %s") NoSuchElementException fieldNotFoundInResponse(String field, Set<String> availableFields) -
unexpectedValueInResponse
@Message(id=35005, value="Value in the response at path \'%s\' is of an unexpected type: %s") RuntimeException unexpectedValueInResponse(String path, String value) -
responseContainsSingleObject
@Message(id=35006, value="Field %s in the response is a single object, please use the method `getObject` instead of `getList`") IllegalArgumentException responseContainsSingleObject(String field) -
responseContainsArray
@Message(id=35007, value="Field %s in the response is an array, please use the method `getList` instead of `getObject`") IllegalArgumentException responseContainsArray(String field) -
fieldRecursionFound
-
cannotInstantiateDomainObject
@Message(id=35010, value="Cannot instantiate %s") RuntimeException cannotInstantiateDomainObject(String object, @Cause Throwable t) -
missingDataForOperation
@Message(id=35011, value="The response does not contain any data for operation %s") RuntimeException missingDataForOperation(String operation) -
nullResponseBody
-