Class ModuleUsageLockAcquisitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nomagic.magicdraw.teamwork2.locks.ModuleUsageLockAcquisitionException
-
- All Implemented Interfaces:
java.io.Serializable
@OpenApiAll public class ModuleUsageLockAcquisitionException extends java.lang.Exception
An exception that is thrown to signal that a required module usage could not be locked- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ModuleUsage
moduleUsage
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ModuleUsageLockAcquisitionException(ModuleUsage moduleUsage)
Creates new instance ofModuleUsageLockAcquisitionException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleUsage
getModuleUsage()
Gets the module usage that could not be locked
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
moduleUsage
private final ModuleUsage moduleUsage
-
-
Constructor Detail
-
ModuleUsageLockAcquisitionException
public ModuleUsageLockAcquisitionException(ModuleUsage moduleUsage)
Creates new instance ofModuleUsageLockAcquisitionException
- Parameters:
moduleUsage
- the module usage that could not be locked
-
-
Method Detail
-
getModuleUsage
public ModuleUsage getModuleUsage()
Gets the module usage that could not be locked- Returns:
- the module usage
-
-