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 Details

    • handleException

      void handleException(Throwable throwable, PersistedMessageBO message) throws Exception
      Throws:
      Exception
    • handleExceptionLastDitchEffort

      void handleExceptionLastDitchEffort(Throwable throwable, PersistedMessageBO message) 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.