|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.messaging.exceptionhandling.ExceptionRoutingServiceImpl
public class ExceptionRoutingServiceImpl
Constructor Summary | |
---|---|
ExceptionRoutingServiceImpl()
|
Method Summary | |
---|---|
protected void |
activateExceptionRequests(RouteContext routeContext,
List<ActionRequestValue> exceptionRequests,
String exceptionMessage,
boolean invokePostProcessor)
End IU Customization |
protected Throwable |
determineActualCause(Throwable throwable,
int depth)
|
protected RouteContext |
establishRouteContext(DocumentRouteHeaderValue document,
Throwable throwable)
|
protected List<ActionRequestValue> |
generateExceptionGroupRequests(RouteContext routeContext)
|
protected List<ActionRequestValue> |
generateKimExceptionRequests(RouteContext routeContext)
|
protected void |
notifyStatusChange(DocumentRouteHeaderValue routeHeader,
String newStatusCode,
String oldStatusCode)
|
void |
placeInExceptionRouting(String errorMessage,
PersistedMessageBO persistedMessage,
String documentId)
|
protected void |
placeInExceptionRouting(String errorMessage,
RouteNodeInstance nodeInstance,
PersistedMessageBO persistedMessage,
RouteContext routeContext,
DocumentRouteHeaderValue document,
boolean invokePostProcessor)
|
void |
placeInExceptionRouting(Throwable throwable,
PersistedMessageBO persistedMessage,
String documentId)
|
protected void |
placeInExceptionRouting(Throwable throwable,
PersistedMessageBO persistedMessage,
String documentId,
boolean invokePostProcessor)
|
void |
placeInExceptionRoutingLastDitchEffort(Throwable throwable,
PersistedMessageBO persistedMessage,
String documentId)
In our case here, our last ditch effort to put the document into exception routing will try to do so without invoking the Post Processor for do route status change to "Exception" status. |
protected void |
processExceptionRequest(ActionRequestValue actionRequest)
Processes a single exception request, ensuring that it's force action flag is set to true and it's node instance is set to null. |
protected void |
processExceptionRequests(List<ActionRequestValue> exceptionRequests)
Takes the given list of Action Requests and ensures their attributes are set properly for exception routing requests. |
protected void |
setExceptionAnnotations(List<ActionRequestValue> actionRequests,
String exceptionMessage)
Sets the exception message as the annotation on the top-level Action Requests |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionRoutingServiceImpl()
Method Detail |
---|
public void placeInExceptionRouting(String errorMessage, PersistedMessageBO persistedMessage, String documentId) throws Exception
placeInExceptionRouting
in interface WorkflowDocumentExceptionRoutingService
Exception
public void placeInExceptionRouting(Throwable throwable, PersistedMessageBO persistedMessage, String documentId) throws Exception
placeInExceptionRouting
in interface WorkflowDocumentExceptionRoutingService
Exception
public void placeInExceptionRoutingLastDitchEffort(Throwable throwable, PersistedMessageBO persistedMessage, String documentId) throws Exception
placeInExceptionRoutingLastDitchEffort
in interface WorkflowDocumentExceptionRoutingService
Exception
protected void placeInExceptionRouting(Throwable throwable, PersistedMessageBO persistedMessage, String documentId, boolean invokePostProcessor) throws Exception
Exception
protected void placeInExceptionRouting(String errorMessage, RouteNodeInstance nodeInstance, PersistedMessageBO persistedMessage, RouteContext routeContext, DocumentRouteHeaderValue document, boolean invokePostProcessor) throws Exception
Exception
protected void notifyStatusChange(DocumentRouteHeaderValue routeHeader, String newStatusCode, String oldStatusCode) throws InvalidActionTakenException
InvalidActionTakenException
protected List<ActionRequestValue> generateExceptionGroupRequests(RouteContext routeContext)
protected List<ActionRequestValue> generateKimExceptionRequests(RouteContext routeContext) throws Exception
Exception
protected void processExceptionRequests(List<ActionRequestValue> exceptionRequests)
protected void processExceptionRequest(ActionRequestValue actionRequest)
protected void activateExceptionRequests(RouteContext routeContext, List<ActionRequestValue> exceptionRequests, String exceptionMessage, boolean invokePostProcessor) throws Exception
routeContext
- exceptionRequests
- exceptionMessage
-
Exception
protected void setExceptionAnnotations(List<ActionRequestValue> actionRequests, String exceptionMessage)
protected Throwable determineActualCause(Throwable throwable, int depth)
protected RouteContext establishRouteContext(DocumentRouteHeaderValue document, Throwable throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |