Class ModuleUsageLockAcquisitionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.teamwork2.locks.ModuleUsageLockAcquisitionException
All Implemented Interfaces:
Serializable

@OpenApiAll public class ModuleUsageLockAcquisitionException extends Exception
An exception that is thrown to signal that a required module usage could not be locked
See Also:
  • Constructor Details

    • ModuleUsageLockAcquisitionException

      public ModuleUsageLockAcquisitionException(ModuleUsage moduleUsage)
      Creates new instance of ModuleUsageLockAcquisitionException
      Parameters:
      moduleUsage - the module usage that could not be locked
  • Method Details

    • getModuleUsage

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