ist.palcom.mal
Class MALErrorEvent

java.lang.Object
  extended by ist.palcom.collections.Link
      extended by ist.palcom.palcomthreads.Event
          extended by ist.palcom.mal.MALErrorEvent

public class MALErrorEvent
extends Event

This event is raised whenever an unrecoverable error has occured within the Media Abstraction Layer.


Constructor Summary
MALErrorEvent(java.lang.Exception error)
           
 
Method Summary
 java.lang.Exception getError()
           
 MediaManager getSource()
          Determine the source of the error.
 java.lang.String toString()
           
 
Methods inherited from class ist.palcom.collections.Link
getNext, getPrev
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MALErrorEvent

public MALErrorEvent(java.lang.Exception error)
Method Detail

getError

public java.lang.Exception getError()

getSource

public MediaManager getSource()
Determine the source of the error. This allows for a single error handler to accomodate multiple MediaManagers. For instance, this is convenient when using the CompoundMediaManager, which propagate errors.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object