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

org.openas2.DispositionException Maven / Gradle / Ivy

Go to download

Open source implementation of the AS2 standard for signed encrypted and compressed document transfer

There is a newer version: 2.10.1
Show newest version
package org.openas2;

import org.openas2.util.DispositionType;

public class DispositionException extends OpenAS2Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private DispositionType disposition;
	private String text;
	
	public DispositionException(DispositionType disposition, String text, Throwable cause) {
		super(disposition.toString());
		initCause(cause);
		this.disposition = disposition;
		this.text = text;
	}
	
	public DispositionException(DispositionType disposition, String text) {
		super(disposition.toString());
		this.disposition = disposition;
		this.text = text;
	}

	public DispositionType getDisposition() {
		return disposition;
	}

	public void setDisposition(DispositionType disposition) {
		this.disposition = disposition;
	}
	public String getText() {
		return text;
	}

	public void setText(String string) {
		text = string;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy