org.embl.ebi.escience.scufl.provenance.process
Class ServiceError

java.lang.Object
  extended by org.embl.ebi.escience.scufl.provenance.process.ProcessEvent
      extended by org.embl.ebi.escience.scufl.provenance.process.ServiceError

public class ServiceError
extends ProcessEvent

Event corresponding to a single error in a service invocation. This may result in retry, alternate scheduling or service failure if neither retries nor alternates are available.

Author:
Tom Oinn

Constructor Summary
ServiceError(java.lang.Exception ex)
          Construct a service error event from the given exception.
 
Method Summary
 org.jdom.Element eventElement()
          Show the exception stack trace in the report
 java.lang.String getMessage()
           
 
Methods inherited from class org.embl.ebi.escience.scufl.provenance.process.ProcessEvent
eventTopLevelElement, getTimeStamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceError

public ServiceError(java.lang.Exception ex)
Construct a service error event from the given exception.

Method Detail

getMessage

public java.lang.String getMessage()

eventElement

public org.jdom.Element eventElement()
Show the exception stack trace in the report

Overrides:
eventElement in class ProcessEvent