01: package org.wfmc.wapi;
02:
03: public class WMInvalidActivityInstanceException extends
04: WMInvalidObjectException {
05:
06: private static final long serialVersionUID = 1738151149117001141L;
07:
08: /**
09: * Constructs a new WMInvalidActivityInstanceException. This exception is
10: * thrown when an activity instance cannot be located by its definition ID
11: * or its instance ID, depending on which was passed to the finder method.
12: *
13: * @param activityId The ID of the activity definition or the activity
14: * instance, depending on the context.
15: */
16: public WMInvalidActivityInstanceException(String activityId) {
17: super(WMError.WM_INVALID_ACTIVITY_INSTANCE, activityId);
18: }
19: }
|