Class ReadOnlyElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.openapi.uml.ReadOnlyElementException
- All Implemented Interfaces:
Serializable
The exception is thrown if user wants to edit not editable(readonly) ModelElement.
- See Also:
-
Constructor Summary
ConstructorDescriptionReadOnlyElementException
(BaseElement element) Constructs new exception for given read only(not editable) Element. -
Method Summary
Modifier and TypeMethodDescriptionReturns a read only(not editable) element of this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReadOnlyElementException
Constructs new exception for given read only(not editable) Element.- Parameters:
element
- the read only Element.
-
-
Method Details
-
getElement
Returns a read only(not editable) element of this exception.- Returns:
- read only element.
-