List of usage examples for javax.el PropertyNotFoundException PropertyNotFoundException
public PropertyNotFoundException(String message, Throwable cause)
From source file:org.flowable.compatibility.DefaultFlowable5CompatibilityHandler.java
protected void handleActivitiException(org.activiti.engine.ActivitiException e) { if (e instanceof org.activiti.engine.delegate.BpmnError) { org.activiti.engine.delegate.BpmnError activiti5BpmnError = (org.activiti.engine.delegate.BpmnError) e; throw new BpmnError(activiti5BpmnError.getErrorCode(), activiti5BpmnError.getMessage()); } else if (e instanceof org.activiti.engine.ActivitiClassLoadingException) { throw new FlowableClassLoadingException(e.getMessage(), e.getCause()); } else if (e instanceof org.activiti.engine.ActivitiObjectNotFoundException) { org.activiti.engine.ActivitiObjectNotFoundException activiti5ObjectNotFoundException = (org.activiti.engine.ActivitiObjectNotFoundException) e; throw new FlowableObjectNotFoundException(activiti5ObjectNotFoundException.getMessage(), activiti5ObjectNotFoundException.getObjectClass(), activiti5ObjectNotFoundException.getCause()); } else if (e instanceof org.activiti.engine.ActivitiOptimisticLockingException) { throw new FlowableOptimisticLockingException(e.getMessage()); } else if (e instanceof org.activiti.engine.ActivitiIllegalArgumentException) { throw new FlowableIllegalArgumentException(e.getMessage(), e.getCause()); } else {//from www . j ava 2 s . c om if (e.getCause() instanceof org.activiti.engine.ActivitiClassLoadingException) { throw new FlowableException(e.getMessage(), new FlowableClassLoadingException(e.getCause().getMessage(), e.getCause().getCause())); } else if (e.getCause() instanceof org.activiti.engine.impl.javax.el.PropertyNotFoundException) { throw new FlowableException(e.getMessage(), new PropertyNotFoundException(e.getCause().getMessage(), e.getCause().getCause())); } else if (e.getCause() instanceof org.activiti.engine.ActivitiException) { throw new FlowableException(e.getMessage(), new FlowableException(e.getCause().getMessage(), e.getCause().getCause())); } else { throw new FlowableException(e.getMessage(), e.getCause()); } } }