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
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 Summary
ConstructorsConstructorDescriptionMatsBackendException
(String message) MatsBackendException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MatsBackendException
-
MatsBackendException
-