Uses of Class
com.mailjet.client.errors.MailjetException
| Package | Description |
|---|---|
| com.mailjet.client | |
| com.mailjet.client.easy |
A proposal of a higher-level wrapper of the java API.
|
| com.mailjet.client.errors | |
| com.mailjet.client.transactional |
-
Uses of MailjetException in com.mailjet.client
Methods in com.mailjet.client that throw MailjetException Modifier and Type Method Description MailjetResponseMailjetClient. delete(MailjetRequest request)performs DELETE request.MailjetResponseMailjetClient. get(MailjetRequest request)performs GET request.intMailjetResponse. getInt(java.lang.String key)org.json.JSONArrayMailjetResponse. getJSONArray(java.lang.String key)java.lang.StringMailjetResponse. getString(java.lang.String key)static voidMain. main(java.lang.String[] args)MailjetResponseMailjetClient. post(MailjetRequest request)performs POST request.MailjetResponseMailjetClient. put(MailjetRequest request)performs PUT request.static voidMailjetResponseUtil. validateMailjetResponse(MailjetRequest request, int responseCode, java.lang.String responseBody) -
Uses of MailjetException in com.mailjet.client.easy
Methods in com.mailjet.client.easy that throw MailjetException Modifier and Type Method Description MailjetResponseMJEasyEmail. send()Send the emailMailjetResponseMJEasySms. send()Send the sms -
Uses of MailjetException in com.mailjet.client.errors
Subclasses of MailjetException in com.mailjet.client.errors Modifier and Type Class Description classMailjetClientCommunicationExceptionIndicates that the error happened during communication with the server And the error nature is bound to the underlying HTTP provider / java.net stack Please, verify your network configurationclassMailjetClientRequestExceptionMailjetClientRequestException indicates that the given request is invalid And MailJet API server returned error like 400 Bad Request 403 Forbidden 404 Not Found 405 Method Not Allowed Please, verify your requestclassMailjetRateLimitExceptionMailjetRateLimitException handles http status code 429 (Too Many Requests) Oops! You have reached the maximum number of calls allowed per minute by our API.classMailjetServerExceptionMailjetServerException indicates that something went wrong on our side When such error occurs, it will contain an error identifier in its description (e.g.classMailjetUnauthorizedExceptionYou have specified an incorrect API Key / API Secret Key pair or Bearer token in case of invoking SMS API You may be unauthorized to access the API or your API key may be inactive. -
Uses of MailjetException in com.mailjet.client.transactional
Methods in com.mailjet.client.transactional that throw MailjetException Modifier and Type Method Description SendEmailsResponseSendEmailsRequest. sendWith(MailjetClient mailjetClient)Represents a method to send multiple transactional emails Note: Mailjet send API v3.1 will be used Note: Max 50 emails per batch allowed