Package io.mats3.impl.jms
Class JmsMatsException.JmsMatsUndeclaredCheckedExceptionRaisedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.mats3.impl.jms.JmsMatsException.JmsMatsUndeclaredCheckedExceptionRaisedRuntimeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JmsMatsException
public static class JmsMatsException.JmsMatsUndeclaredCheckedExceptionRaisedRuntimeException
extends RuntimeException
Thrown if a undeclared checked exception propagates out of the user-supplied lambda. This should obviously
not happen, but can happen nevertheless due to checked-ness being a compilation-feature, not a JVM feature.
Groovy chooses to ignore the concept of checked exceptions - and it is also possible to throw such an Exception
with the "sneaky-throws" paradigm in pure Java (Google it) - and therefore, it is possible to get such Checked
Exceptions propagating even though the signature of a method states that is should not be possible.
Shall cause rollback.
- See Also:
-
Constructor Summary
ConstructorDescriptionJmsMatsUndeclaredCheckedExceptionRaisedRuntimeException
(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
-
JmsMatsUndeclaredCheckedExceptionRaisedRuntimeException
-