Package io.smallrye.graphql.client.impl
Interface SmallRyeGraphQLClientMessages
-
- All Known Implementing Classes:
SmallRyeGraphQLClientMessages_$bundle
@MessageBundle(projectCode="SRGQLDC") public interface SmallRyeGraphQLClientMessages
-
-
Field Summary
Fields Modifier and Type Field Description static SmallRyeGraphQLClientMessagesmsg
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeExceptioncannotInstantiateDomainObject(String object, Throwable t)RuntimeExceptioncannotParseResponse(String response, Throwable cause)NoSuchElementExceptionfieldNotFoundInResponse(String field, Set<String> availableFields)IllegalStateExceptionfieldRecursionFound()RuntimeExceptionmissingDataForOperation(String operation)NoSuchElementExceptionnoDataInResponse()InvalidResponseExceptionnullResponseBody()IllegalArgumentExceptionresponseContainsArray(String field)IllegalArgumentExceptionresponseContainsSingleObject(String field)RuntimeExceptionunexpectedValueInResponse(String path, String value)NoSuchElementExceptionurlNotConfiguredForNamedClient(String name)NoSuchElementExceptionurlNotConfiguredForProgrammaticClient()
-
-
-
Field Detail
-
msg
static final SmallRyeGraphQLClientMessages msg
-
-
Method Detail
-
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
@Message(id=35008, value="Field recursion found") IllegalStateException 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
@Message(id=35012, value="Response body was null") InvalidResponseException nullResponseBody()
-
-