1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.exception;
17
18 import org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue;
19 import org.kuali.rice.ksb.messaging.PersistedMessageBO;
20
21
22
23
24
25 public interface WorkflowDocumentExceptionRoutingService {
26
27 public DocumentRouteHeaderValue placeInExceptionRouting(String errorMessage, PersistedMessageBO persistedMessage, String documentId) throws Exception;
28 public DocumentRouteHeaderValue placeInExceptionRouting(Throwable throwable, PersistedMessageBO persistedMessage, String documentId) throws Exception;
29 public void placeInExceptionRoutingLastDitchEffort(Throwable throwable, PersistedMessageBO persistedMessage, String documentId) throws Exception;
30
31 }