Class DynamicModelApplyLockedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jmix.dynmodel.DynamicModelApplyLockedException
All Implemented Interfaces:
Serializable

public class DynamicModelApplyLockedException extends RuntimeException
Thrown when the dynamic model cannot be applied because another node of the cluster is applying it.
See Also:
  • Constructor Details

    • DynamicModelApplyLockedException

      public DynamicModelApplyLockedException(String message, @Nullable String username)
      Creates the exception.
      Parameters:
      message - message
      username - user who holds the lock, if known
  • Method Details

    • getUsername

      public @Nullable String getUsername()
      Returns the user who holds the lock.
      Returns:
      username or null if not known