Module javafx.media

Class MediaException

All Implemented Interfaces:
Serializable

public final class MediaException extends RuntimeException
A MediaException describes a runtime error condition in a Media, MediaPlayer or MediaView.
Since:
JavaFX 2.0
See Also:
  • Method Details

    • 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 this MediaException object.
      Overrides:
      toString in class Throwable
      Returns:
      a string representation of this MediaException object.