Class ModuleUsageLockedByOtherException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.esi.refactor.move.ModuleUsageLockedByOtherException
- All Implemented Interfaces:
Serializable
Indicates that module usage is locked by another user
- See Also:
-
Constructor Summary
ConstructorDescriptionModuleUsageLockedByOtherException
(ModuleUsage moduleUsage, String user) Creates new instance ofModuleUsageLockedByOtherException
-
Method Summary
Modifier and TypeMethodDescriptionGets the module usage that could not be lockedgetUser()
Gets the user who has locked the usageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ModuleUsageLockedByOtherException
Creates new instance ofModuleUsageLockedByOtherException
- Parameters:
moduleUsage
- the module usage that could not be lockeduser
- the user who has locked the usage
-
-
Method Details
-
getModuleUsage
Gets the module usage that could not be locked- Returns:
- the module usage
-
getUser
Gets the user who has locked the usage- Returns:
- the user
-