Interface MessageExceptionHandler
- All Known Implementing Classes:
DefaultMessageExceptionHandler
public interface MessageExceptionHandler
A MessageExceptionHandler handles exception which arrise during processing of the
message.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleException(Throwable throwable, PersistedMessageBO message) voidhandleExceptionLastDitchEffort(Throwable throwable, PersistedMessageBO message) booleanisInException(PersistedMessageBO message) Determines whether the message would go into Exception if submitted.
-
Method Details
-
handleException
- Throws:
Exception
-
handleExceptionLastDitchEffort
void handleExceptionLastDitchEffort(Throwable throwable, PersistedMessageBO message) throws Exception - Throws:
Exception
-
isInException
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.
-