org.kuali.rice.kew.messaging.exceptionhandling
Class DocumentMessageExceptionHandler

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.exceptionhandling.DefaultMessageExceptionHandler
      extended by org.kuali.rice.kew.messaging.exceptionhandling.DocumentMessageExceptionHandler
All Implemented Interfaces:
MessageExceptionHandler

public class DocumentMessageExceptionHandler
extends DefaultMessageExceptionHandler

A MessageExceptionHandler which handles putting documents into exception routing.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
DocumentMessageExceptionHandler()
           
 
Method Summary
protected  String getDocumentId(PersistedMessageBO message)
           
 void handleExceptionLastDitchEffort(Throwable throwable, PersistedMessageBO message, Object service)
           
protected  void placeInException(Throwable throwable, PersistedMessageBO message)
           
protected  void scheduleExecution(Throwable throwable, PersistedMessageBO message)
           
 
Methods inherited from class org.kuali.rice.ksb.messaging.exceptionhandling.DefaultMessageExceptionHandler
getGlobalMaxRetryAttempts, getImmediateExceptionRouting, getMaxRetryAttempts, getTimeIncrement, handleException, isInException, requeue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentMessageExceptionHandler

public DocumentMessageExceptionHandler()
Method Detail

placeInException

protected void placeInException(Throwable throwable,
                                PersistedMessageBO message)
                         throws Exception
Overrides:
placeInException in class DefaultMessageExceptionHandler
Throws:
Exception

handleExceptionLastDitchEffort

public void handleExceptionLastDitchEffort(Throwable throwable,
                                           PersistedMessageBO message,
                                           Object service)
                                    throws Exception
Specified by:
handleExceptionLastDitchEffort in interface MessageExceptionHandler
Overrides:
handleExceptionLastDitchEffort in class DefaultMessageExceptionHandler
Throws:
Exception

scheduleExecution

protected void scheduleExecution(Throwable throwable,
                                 PersistedMessageBO message)
                          throws Exception
Overrides:
scheduleExecution in class DefaultMessageExceptionHandler
Throws:
Exception

getDocumentId

protected String getDocumentId(PersistedMessageBO message)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.