Class ModuleUsageLockedByOtherException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nomagic.magicdraw.esi.refactor.move.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
-
-
Constructor Summary
Constructors Constructor Description ModuleUsageLockedByOtherException(ModuleUsage moduleUsage, java.lang.String user)
Creates new instance ofModuleUsageLockedByOtherException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleUsage
getModuleUsage()
Gets the module usage that could not be lockedjava.lang.String
getUser()
Gets the user who has locked the usage
-
-
-
Constructor Detail
-
ModuleUsageLockedByOtherException
public ModuleUsageLockedByOtherException(ModuleUsage moduleUsage, java.lang.String user)
Creates new instance ofModuleUsageLockedByOtherException
- Parameters:
moduleUsage
- the module usage that could not be lockeduser
- 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
-
-