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

org.subethamail.smtp.client.SMTPException Maven / Gradle / Ivy

Go to download

A fork of a fork (!) of SubEtha, an easy-to-use server-side SMTP library for Java.

There is a newer version: 7.1.3
Show newest version
package org.subethamail.smtp.client;

import java.io.IOException;

import org.subethamail.smtp.client.SMTPClient.Response;

/**
 * Thrown if a syntactically valid reply was received from the server, which
 * indicates an error via the status code.
 */
@SuppressWarnings("serial")
public final class SMTPException extends IOException
{
	private final Response response;

	public SMTPException(Response resp)
	{
		super(resp.toString());

		this.response = resp;
	}

	public Response getResponse() { return this.response; }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy