FileDocCategorySizeDatePackage
UnsupportedFormatException.javaAPI DocJMF 2.1.1e1393Mon May 12 12:20:34 BST 2003javax.media.format

UnsupportedFormatException

public class UnsupportedFormatException extends MediaException
An UnsupportedFormatException is thrown when a format change request fails because the requested Format is not supported.

Fields Summary
Format
failedFormat
Constructors Summary
public UnsupportedFormatException(Format unsupportedFormat)
Constructs a new UnsupportedFormatException.

param
unsupportedFormat The Format that is not supported.

      
	failedFormat = unsupportedFormat;
    
public UnsupportedFormatException(String message, Format unsupportedFormat)
Constructs a new UnsupportedFormatException with the specified parameters.

param
message A String that contains a message associated with the exception.
param
unsupportedFormat The Format that is not supported.

        super(message);
	failedFormat = unsupportedFormat;
    
Methods Summary
public javax.media.FormatgetFailedFormat()
Gets the unsupported Format reported by this exception.

return
The unsupported Format.

	return failedFormat;