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

org.mobicents.sdp.UnsupportedFormatException Maven / Gradle / Ivy

package org.mobicents.sdp;

import javax.media.mscontrol.MediaException;



/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 * 
 * @author Ken Larson
 * 
 */
public class UnsupportedFormatException extends MediaException {
	private final Format unsupportedFormat;

	public UnsupportedFormatException(Format unsupportedFormat) {
		super("Unsupported Format "+unsupportedFormat);
		this.unsupportedFormat = unsupportedFormat;
	}

	public UnsupportedFormatException(String message, Format unsupportedFormat) {
		super(message);
		this.unsupportedFormat = unsupportedFormat;

	}

	public Format getFailedFormat() {
		return unsupportedFormat;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy