Class ElementReadOnlyException

  • All Implemented Interfaces:
    java.io.Serializable

    @OpenApiAll
    public class ElementReadOnlyException
    extends java.lang.Exception
    Indicates that an element is read-only.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Element element  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Element getElement()
      Gets the element that is read-only
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • element

        private final Element element
    • Constructor Detail

      • ElementReadOnlyException

        public ElementReadOnlyException​(Element element)
        Creates new instance of ElementReadOnlyException.
        Parameters:
        element - the element that is read-only
    • Method Detail

      • getElement

        public Element getElement()
        Gets the element that is read-only
        Returns:
        the element