
org.subethamail.smtp.client.SMTPException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subethasmtp Show documentation
Show all versions of subethasmtp Show documentation
A fork of a fork (!) of SubEtha, an easy-to-use server-side SMTP library for Java.
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