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

com.sendsafely.exceptions.SendFailedException Maven / Gradle / Ivy

package com.sendsafely.exceptions;

public class SendFailedException extends Exception
{
	private static final long serialVersionUID = 1L;
	
	String error;
	
	public SendFailedException()
	{
		super();
		error = "unknown";
	}
	
	public SendFailedException(String err){
		super(err);
		error = err;
	}
	
	public SendFailedException(Exception e){
		super(e);
		error = e.getMessage();
	}
	
	public String getError()
	{
		return error;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy