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

javax.media.format.UnsupportedFormatException Maven / Gradle / Ivy

There is a newer version: 1.0.2-jitsi
Show newest version
package javax.media.format;

import javax.media.*;

/**
 * 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();
        this.unsupportedFormat = unsupportedFormat;
    }

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

    }

    public Format getFailedFormat()
    {
        return unsupportedFormat;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy