Package io.jmix.dynmodel
Class DynamicModelApplyLockedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jmix.dynmodel.DynamicModelApplyLockedException
- All Implemented Interfaces:
Serializable
Thrown when the dynamic model cannot be applied because another node of the cluster is applying it.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicModelApplyLockedException(String message, @Nullable String username) Creates the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DynamicModelApplyLockedException
Creates the exception.- Parameters:
message- messageusername- user who holds the lock, if known
-
-
Method Details
-
getUsername
Returns the user who holds the lock.- Returns:
- username or null if not known
-