Class ReadOnlyElementException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- com.nomagic.magicdraw.openapi.uml.ReadOnlyElementException
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
@OpenApiAll public class ReadOnlyElementException extends java.lang.ExceptionThe exception is thrown if user wants to edit not editable(readonly) ModelElement.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ReadOnlyElementException(BaseElement element)Constructs new exception for given read only(not editable) Element. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseElementgetElement()Returns a read only(not editable) element of this exception. 
 - 
 
- 
- 
Constructor Detail
- 
ReadOnlyElementException
public ReadOnlyElementException(@CheckForNull BaseElement element)Constructs new exception for given read only(not editable) Element.- Parameters:
 element- the read only Element.
 
 - 
 
- 
Method Detail
- 
getElement
public BaseElement getElement()
Returns a read only(not editable) element of this exception.- Returns:
 - read only element.
 
 
 - 
 
 -