|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.BatchOperationException
fuego.papi.exception.InstancesException
public class InstancesException
Exception thrown when performing a batch operation and some of the instances (or instance items) could not complete the operation. Refer to the BatchOperationException to know how to handle the good values and the wrong ones.
BatchOperationException
,
Serialized FormConstructor Summary | |
---|---|
InstancesException(InstanceInfo[] instances,
Map<String,Throwable> otherExceptions,
boolean failAll)
|
|
InstancesException(InstanceInfo[] instances,
Map<String,Throwable> otherExceptions,
List targetActs,
ParticipantsForActivities participantsForActivities,
boolean failAll)
|
Method Summary | |
---|---|
boolean |
failAllInstances()
|
InstanceInfo[] |
getAvailableInstances()
This method returns an array of instances. |
String |
getErrorsMessage()
This method returns a string message with all the errors. |
ParticipantsForActivities |
getParticipantsForActivities()
This method returns hash |
List |
getTargetActivities()
This method returns a list of target activities names (ie: elements are Strings) |
boolean |
hasErrors()
Returns true if there are others Exceptions available. |
boolean |
hasParticipantsForActivities()
Returns true if there are participants for activities available. |
boolean |
hasTargetActivities()
Returns true if there are targetActivities available. |
Methods inherited from class fuego.papi.BatchOperationException |
---|
failAll, getAvailableObjects, getMessage, getNotAvailableObjects |
Methods inherited from class fuego.lang.DefaultException |
---|
getCode, getDetail, getKey, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstancesException(InstanceInfo[] instances, Map<String,Throwable> otherExceptions, boolean failAll)
public InstancesException(InstanceInfo[] instances, Map<String,Throwable> otherExceptions, List targetActs, ParticipantsForActivities participantsForActivities, boolean failAll)
Method Detail |
---|
public InstanceInfo[] getAvailableInstances()
public final String getErrorsMessage()
public ParticipantsForActivities getParticipantsForActivities()
public List getTargetActivities()
public boolean failAllInstances()
public boolean hasErrors()
public boolean hasParticipantsForActivities()
public boolean hasTargetActivities()
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |