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

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

package com.sendsafely.exceptions;

import java.util.List;

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy