public class ManagedControllerErrorEvent extends ControllerErrorEvent
ManagedControllerErrorEvent
indicates that a
Controller
managed by a Player posted a
ControllerErrorEvent and subsequently caused the managing
Player to close.
Class is used by AbstractPlayer.
From the book: Essential JMF, Gordon, Talley (ISBN 0130801046). Used with permission.message
Constructor and Description |
---|
ManagedControllerErrorEvent(Player manager,
ControllerErrorEvent event)
Create a ManagedControllerErrorEvent for the given managing
Player and ControllerErrorEvent.
|
ManagedControllerErrorEvent(Player manager,
ControllerErrorEvent event,
java.lang.String message)
Create a ManagedControllerErrorEvent for the given managing
Player, ControllerErrorEvent, and description.
|
Modifier and Type | Method and Description |
---|---|
ControllerErrorEvent |
getControllerErrorEvent()
Get the original ControllerErrorEvent posted by the managed
Controller.
|
toString
getMessage
getSource, getSourceController
public ManagedControllerErrorEvent(Player manager, ControllerErrorEvent event)
manager
- The managing Player.event
- The original ControllerErrorEvent posted by a
managed Controller.public ManagedControllerErrorEvent(Player manager, ControllerErrorEvent event, java.lang.String message)
manager
- The managing Player.event
- The original ControllerErrorEvent posted by a
managed Controller.message
- A message describing the error.public ControllerErrorEvent getControllerErrorEvent()