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
-
-
Field Summary
Fields Modifier and Type Field Description private ModuleUsage
moduleUsage
private static long
serialVersionUID
private java.lang.String
user
-
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
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
moduleUsage
private final ModuleUsage moduleUsage
-
user
private final java.lang.String user
-
-
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
-
-