public class MediaErrorEvent extends Event
Event representing the occurrence of an error in handling media.| Modifier and Type | Field and Description |
|---|---|
static EventType<MediaErrorEvent> |
MEDIA_ERROR
The only valid event type for the
MediaErrorEvent. |
| Modifier and Type | Method and Description |
|---|---|
MediaException |
getMediaError()
Retrieve the error associated with this event.
|
java.lang.String |
toString()
Retrieve a
String representation of the event. |
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedpublic static final EventType<MediaErrorEvent> MEDIA_ERROR
MediaErrorEvent.public MediaException getMediaError()
MediaExceptionpublic java.lang.String toString()
String representation of the event.toString in class java.util.EventObjectCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.