javax.media
Class ControllerErrorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.media.MediaEvent
              |
              +--javax.media.ControllerEvent
                    |
                    +--javax.media.ControllerClosedEvent
                          |
                          +--javax.media.ControllerErrorEvent
Direct Known Subclasses:
ConnectionErrorEvent, InternalErrorEvent, ResourceUnavailableEvent

public class ControllerErrorEvent
extends ControllerClosedEvent

A ControllerErrorEvent describes an event that is generated when an error condition occurs that will cause a Controller to cease functioning. Events should only subclass from ControllerErrorEvent if the error being reported will result in catastrophic failure if action is not taken, or if the Controller has already failed. A ControllerErrorEvent indicates that the Controller is closed.

See Also:
Controller, ControllerListener, Serialized Form

Fields inherited from class javax.media.ControllerClosedEvent
message
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ControllerErrorEvent(Controller from)
           
ControllerErrorEvent(Controller from, java.lang.String why)
           
 
Method Summary
 java.lang.String toString()
          Returns the String representation of this event's values.
 
Methods inherited from class javax.media.ControllerClosedEvent
getMessage
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControllerErrorEvent

public ControllerErrorEvent(Controller from)

ControllerErrorEvent

public ControllerErrorEvent(Controller from,
                            java.lang.String why)
Method Detail

toString

public java.lang.String toString()
Returns the String representation of this event's values.
Overrides:
toString in class ControllerEvent