Package org.pkl.core

Class NoSuchPropertyException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class NoSuchPropertyException
    extends java.lang.RuntimeException
    Indicates that a non-existent property was requested for a Composite. To check if a property exists, use Composite.hasProperty(String).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchPropertyException​(java.lang.String message, java.lang.String propertyName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPropertyName()  
      • 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
    • Constructor Detail

      • NoSuchPropertyException

        public NoSuchPropertyException​(java.lang.String message,
                                       java.lang.String propertyName)
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()