All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mailersend.sdk.exceptions.MailerSendException Maven / Gradle / Ivy

/*************************************************
 * MailerSend Java SDK
 * https://github.com/mailersend/mailersend-java
 * 
 * @author MailerSend 
 * https://mailersend.com
 **************************************************/
package com.mailersend.sdk.exceptions;

import java.util.HashMap;

/**
 * Is thrown when an error is returned from the MailerSend API
 *
 * @author mailersend
 * @version $Id: $Id
 */
public class MailerSendException extends Exception {

    public int code; // the response code
    
    public String message = "";
    
    public String responseBody = null;
    
    public HashMap errors = new HashMap();
    
    /**
     * 

Constructor for MailerSendException.

* * @param message a {@link java.lang.String} object. */ public MailerSendException(String message) { super(message); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy