javafx.scene.media
Class MediaException
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javafx.scene.media.MediaException
All Implemented Interfaces:
public final class MediaException extends RuntimeException
Since:
JavaFX 2.0
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classMediaException.TypeEnumeration describing categories of errors.
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method and Description MediaException.TypegetType()Retrieves the category into which this error falls.StringtoString()Returns a string representation of thisMediaExceptionobject.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
Method Detail
-
getType
public MediaException.Type getType()
Retrieves the category into which this error falls.Returns:
The type of this error
-
toString
public String toString()
Returns a string representation of thisMediaExceptionobject.
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.