|
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
public abstract class BatchOperationException
Class BatchOperationException
Exception thrown when not every the object requested are available. This
could happen when not all the engines are available.
When this exception is received the developer has the possibility to get the
good values and the wrong values (every exception thrown for each failed operation).
Available objects :The objects ids can be obtained through the method
getAvailableXXX() from each heir of BatchOperationException (Ex:InstancesException).
Not available objects: A map with the object Keys and the corresponding exceptions is returned by
the method getNotAvailableXXX(). Each map value is the exception thrown with the message explaining
why that operation failed.
Method Summary | |
---|---|
boolean |
failAll()
|
Object[] |
getAvailableObjects()
This method returns an array with the returned value for those available objects. |
String |
getMessage(Locale locale)
Returns the composition of the user message, the administrative detail and the technical detail using the given locale. |
Map<String,Throwable> |
getNotAvailableObjects()
This method returns a map containig the exception for each process which could not perform the corresponding operation. |
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 |
Method Detail |
---|
public Object[] getAvailableObjects()
public String getMessage(Locale locale)
getMessage
in class fuego.lang.DefaultException
locale
- desired locale
DefaultException.getMessage()
,
DefaultException.getUserMessage(Locale)
,
DefaultException.getDetail(Locale)
,
DefaultException.getTechnicalDetail(Locale)
public Map<String,Throwable> getNotAvailableObjects()
public boolean failAll()
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |