javax.media.format
Class UnsupportedFormatException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.media.MediaException
|
+--javax.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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
UnsupportedFormatException
public UnsupportedFormatException(Format unsupportedFormat)
- Constructs a new
UnsupportedFormatException
.
- Parameters:
unsupportedFormat
- The Format
that is not supported.
UnsupportedFormatException
public UnsupportedFormatException(java.lang.String message,
Format unsupportedFormat)
- Constructs a new
UnsupportedFormatException
with the specified parameters.
- Parameters:
message
- A String
that contains a message associated with the exception.unsupportedFormat
- The Format
that is not supported.
getFailedFormat
public Format getFailedFormat()
- Gets the unsupported
Format
reported by this exception.
- Returns:
- The unsupported
Format
.
Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.