Package io.mats3

Class MatsInitiator.MatsBackendException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.mats3.MatsInitiator.MatsBackendException
All Implemented Interfaces:
Serializable
Enclosing interface:
MatsInitiator

public static class MatsInitiator.MatsBackendException extends Exception
Will be thrown by the MatsInitiator.initiate(InitiateLambda)-method if it is not possible at this time to establish a connection to the underlying messaging system (e.g. to ActiveMQ if used in JMS implementation with ActiveMQ as JMS Message Broker), or if there was any other kind of problems interacting with the MQ or other external resources (typically database) in the same transactional demarcation. Do note that in all cases of this exception, any other external resource (again, typically database) will not have been committed - unlike if you get the MatsInitiator.MatsMessageSendException.
See Also:
  • Constructor Details

    • MatsBackendException

      public MatsBackendException(String message)
    • MatsBackendException

      public MatsBackendException(String message, Throwable cause)