Class ModuleUsageLockedByOtherException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.esi.refactor.move.ModuleUsageLockedByOtherException
All Implemented Interfaces:
Serializable

@OpenApiAll public class ModuleUsageLockedByOtherException extends Exception
Indicates that module usage is locked by another user
See Also:
  • Constructor Details

    • ModuleUsageLockedByOtherException

      public ModuleUsageLockedByOtherException(ModuleUsage moduleUsage, 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 Details

    • getModuleUsage

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

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