org.kuali.rice.ksb.messaging.exceptionhandling
Interface MessageExceptionHandler

All Known Implementing Classes:
DefaultMessageExceptionHandler, DocumentMessageExceptionHandler

public interface MessageExceptionHandler

A MessageExceptionHandler handles exception which arrise during processing of the message.

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

Method Summary
 void handleException(Throwable throwable, PersistedMessageBO message, Object service)
           
 void handleExceptionLastDitchEffort(Throwable throwable, PersistedMessageBO message, Object service)
           
 boolean isInException(PersistedMessageBO message)
          Determines whether the message would go into Exception if submitted.
 

Method Detail

handleException

void handleException(Throwable throwable,
                     PersistedMessageBO message,
                     Object service)
                     throws Exception
Throws:
Exception

handleExceptionLastDitchEffort

void handleExceptionLastDitchEffort(Throwable throwable,
                                    PersistedMessageBO message,
                                    Object service)
                                    throws Exception
Throws:
Exception

isInException

boolean isInException(PersistedMessageBO message)
Determines whether the message would go into Exception if submitted.

Parameters:
message - The PersistedMessageBO instance to be tested.
Returns:
Returns true if the message would go into exception, otherwise returns false.


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