public static InstanceNotFoundException build(Throwable e) { if (!(e instanceof InstanceNotFoundException)) { throw new BonitaInternalException("Cannot create a InstanceNotFoundException", e); } return new InstanceNotFoundException((InstanceNotFoundException)e); }
public static TaskNotFoundException build(Throwable e) { if (!(e instanceof TaskNotFoundException)) { throw new BonitaInternalException("Cannot create a TaskNotFoundException", e); } return new TaskNotFoundException((TaskNotFoundException)e); }
public static DataFieldNotFoundException build(Throwable e) { if (!(e instanceof DataFieldNotFoundException)) { throw new BonitaInternalException("Cannot create a DataFieldNotFoundException", e); } return new DataFieldNotFoundException((DataFieldNotFoundException)e); }
public DataFieldNotFoundException(DataFieldNotFoundException e) { super(e.getMessage()); this.dataFieldId = e.getDataFieldId(); this.processUUID = e.getProcessUUID(); this.activityUUID = e.getActivityUUID(); this.dataFieldUUID = e.getDataFieldUUID(); }
public ActivityDefNotFoundException(ActivityDefNotFoundException e) { super(e.getMessage()); this.activityUUID = e.getActivityUUID(); this.processId = e.getProcessId(); this.activityId = e.getActivityId(); }
public ParticipantNotFoundException(ParticipantNotFoundException e) { super(e.getMessage()); this.participantId = e.getParticipantId(); this.processUUID = e.getProcessUUID(); this.participantUUID = e.getParticipantUUID(); }
public VariableNotFoundException(VariableNotFoundException e) { super(e.getMessage()); this.instanceUUID = e.getInstanceUUID(); this.activityId = e.getActivityId(); this.variableId = e.getVariableId(); }
public IllegalTaskStateException(IllegalTaskStateException e) { super(e.getMessage()); this.taskUUID = e.getActivityInstanceUUID(); this.expectedStates = e.getExpectedStates(); this.currentState = e.getCurrentState(); }
public IllegalTaskStateException(IllegalTaskStateException e) { super(e.getMessage()); this.taskUUID = e.getTaskUUID(); this.expectedStates = e.getExpectedStates(); this.currentState = e.getCurrentState(); }
public static VariableNotFoundException build(Throwable e) { if (!(e instanceof VariableNotFoundException)) { throw new BonitaInternalException("Cannot create a VariableNotFoundException", e); } return new VariableNotFoundException((VariableNotFoundException)e); }
public static ParticipantNotFoundException build(Throwable e) { if (!(e instanceof ParticipantNotFoundException)) { throw new BonitaInternalException("Cannot create a ProcessNotFoundException", e); } return new ParticipantNotFoundException((ParticipantNotFoundException)e); } public String getParticipantId() {
public static IllegalTaskStateException build(Throwable e) { if (!(e instanceof IllegalTaskStateException)) { throw new BonitaInternalException("Cannot create a IllegalTaskStateException", e); } return new IllegalTaskStateException((IllegalTaskStateException)e); }
public static ActivityDefNotFoundException build(Throwable e) { if (!(e instanceof ActivityDefNotFoundException)) { throw new BonitaInternalException("Cannot create an ActivityDefNotFoundException", e); } return new ActivityDefNotFoundException((ActivityDefNotFoundException)e); }
public static UnAuthorizedUserException build(Throwable e) { if (!(e instanceof UnAuthorizedUserException)) { throw new BonitaInternalException("Cannot create a UnAuthorizedUserException", e); } return new UnAuthorizedUserException((UnAuthorizedUserException)e); }
public static PackageNotFoundException build(Throwable e) { if (!(e instanceof PackageNotFoundException)) { throw new BonitaInternalException("Cannot create a ProcessNotFoundException", e); } return new PackageNotFoundException((PackageNotFoundException)e); } public String getPackageId() {
public PackageNotFoundException(PackageNotFoundException e) { super(e.getMessage()); this.packageId = e.getPackageId(); this.packageUUID = e.getPackageUUID(); this.version = null; }
public DataFieldNotFoundException(DataFieldNotFoundException e) { super(e.getMessage()); this.dataFieldId = e.getDataFieldId(); this.processUUID = e.getProcessUUID(); this.activityUUID = e.getActivityUUID(); this.dataFieldUUID = e.getDataFieldUUID(); }
public ActivityDefNotFoundException(ActivityDefNotFoundException e) { super(e.getMessage()); this.activityUUID = e.getActivityUUID(); this.processId = e.getProcessId(); this.activityId = e.getActivityId(); }
public ParticipantNotFoundException(ParticipantNotFoundException e) { super(e.getMessage()); this.participantId = e.getParticipantId(); this.processUUID = e.getProcessUUID(); this.participantUUID = e.getParticipantUUID(); }
public ActivityDefNotFoundException(ActivityDefNotFoundException e) { super(e.getMessage()); this.activityUUID = e.getActivityUUID(); this.processId = e.getProcessId(); this.activityId = e.getActivityId(); }