org.dvb.spi.ict
Class LoadFailedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.dvb.spi.ict.AsyncResourceLoadEvent
          extended by org.dvb.spi.ict.LoadFailedEvent
All Implemented Interfaces:
java.io.Serializable

public final class LoadFailedEvent
extends AsyncResourceLoadEvent

Event indicating that the load of a resource failed.

See Also:
Serialized Form

Constructor Summary
LoadFailedEvent(ResourceTransportObject source, java.lang.Exception reason)
          Construct a new event indicating failure to load a resource.
 
Method Summary
 java.lang.Exception getReason()
          Return the reason for the load failure.
 
Methods inherited from class org.dvb.spi.ict.AsyncResourceLoadEvent
isLoaded
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadFailedEvent

public LoadFailedEvent(ResourceTransportObject source,
                       java.lang.Exception reason)
Construct a new event indicating failure to load a resource.

Parameters:
source - The ResourceTransportObject that was the source of the failure
reason - Exception indicating the reason for the failure (may be null)
Method Detail

getReason

public java.lang.Exception getReason()
Return the reason for the load failure.

Returns:
Exception - The exception object indicating the reason for the failure (may be null)