Class ModuleUsageLockedByOtherException

  • All Implemented Interfaces:
    java.io.Serializable

    @OpenApiAll
    public class ModuleUsageLockedByOtherException
    extends java.lang.Exception
    Indicates that module usage is locked by another user
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ModuleUsage getModuleUsage()
      Gets the module usage that could not be locked
      java.lang.String getUser()
      Gets the user who has locked the usage
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • user

        private final java.lang.String user
    • Constructor Detail

      • ModuleUsageLockedByOtherException

        public ModuleUsageLockedByOtherException​(ModuleUsage moduleUsage,
                                                 java.lang.String user)
        Creates new instance of ModuleUsageLockedByOtherException
        Parameters:
        moduleUsage - the module usage that could not be locked
        user - the user who has locked the usage
    • Method Detail

      • getModuleUsage

        public ModuleUsage getModuleUsage()
        Gets the module usage that could not be locked
        Returns:
        the module usage
      • getUser

        public java.lang.String getUser()
        Gets the user who has locked the usage
        Returns:
        the user