- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javafx.scene.media.MediaException
-
- All Implemented Interfaces:
Serializable
public final class MediaException extends RuntimeException
- Since:
- JavaFX 2.0
- See Also:
Media.onErrorProperty()
,MediaView.onErrorProperty()
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MediaException.Type
Enumeration describing categories of errors.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaException.Type
getType()
Retrieves the category into which this error falls.String
toString()
Returns a string representation of thisMediaException
object.-
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
-
-