org.ow2.orchestra.pvm.internal.jobexecutor
Class JobExceptionHandler

java.lang.Object
  extended by org.ow2.orchestra.pvm.internal.jobexecutor.JobExceptionHandler
All Implemented Interfaces:
Serializable, Command<Object>

public class JobExceptionHandler
extends Object
implements Command<Object>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  Throwable exception
           
protected  JobImpl<?> failedJob
           
protected  long jobDbid
           
 
Constructor Summary
JobExceptionHandler(JobImpl<?> job, Throwable exception)
           
JobExceptionHandler(long jobDbid, Throwable exception)
           
 
Method Summary
 Object execute(Environment environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobDbid

protected final long jobDbid

failedJob

protected final JobImpl<?> failedJob

exception

protected final Throwable exception
Constructor Detail

JobExceptionHandler

public JobExceptionHandler(long jobDbid,
                           Throwable exception)

JobExceptionHandler

public JobExceptionHandler(JobImpl<?> job,
                           Throwable exception)
Method Detail

execute

public Object execute(Environment environment)
Specified by:
execute in interface Command<Object>


Copyright © 2011 OW2 Consortium. All Rights Reserved.