Class ActivitiEntityExceptionEventImpl
- java.lang.Object
-
- org.activiti.engine.delegate.event.impl.ActivitiEventImpl
-
- org.activiti.engine.delegate.event.impl.ActivitiEntityExceptionEventImpl
-
- All Implemented Interfaces:
ActivitiEntityEvent,ActivitiEvent,ActivitiExceptionEvent
public class ActivitiEntityExceptionEventImpl extends ActivitiEventImpl implements ActivitiEntityEvent, ActivitiExceptionEvent
Base class for allActivitiEventimplementations, represents an exception occurred, related to an entity.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Throwablecauseprotected java.lang.Objectentity-
Fields inherited from class org.activiti.engine.delegate.event.impl.ActivitiEventImpl
executionId, processDefinitionId, processInstanceId, type
-
-
Constructor Summary
Constructors Constructor Description ActivitiEntityExceptionEventImpl(java.lang.Object entity, ActivitiEventType type, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()java.lang.ObjectgetEntity()-
Methods inherited from class org.activiti.engine.delegate.event.impl.ActivitiEventImpl
getExecutionId, getProcessDefinitionId, getProcessInstanceId, getType, setExecutionId, setProcessDefinitionId, setProcessInstanceId, setType, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.delegate.event.ActivitiEvent
getExecutionId, getProcessDefinitionId, getProcessInstanceId, getType
-
-
-
-
Constructor Detail
-
ActivitiEntityExceptionEventImpl
public ActivitiEntityExceptionEventImpl(java.lang.Object entity, ActivitiEventType type, java.lang.Throwable cause)
-
-
Method Detail
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntityin interfaceActivitiEntityEvent- Returns:
- the entity that is targeted by this event.
-
getCause
public java.lang.Throwable getCause()
- Specified by:
getCausein interfaceActivitiExceptionEvent- Returns:
- the throwable that caused this event to be dispatched.
-
-