Class NoSuchPropertyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchPropertyException
    extends java.lang.RuntimeException
    This exception will be thrown when a not existing Property was requested, or the DataHolder with correspoding name is not a Property. I.e. you if you call getProperty("foo") and "foo" is the name of a Document in this context.
    Version:
    $Id: $Id
    Author:
    another
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchPropertyException​(java.lang.String name, java.lang.String type)
      Creates a new instance.
    • Method Summary

      • 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 name,
                                       java.lang.String type)
        Creates a new instance.
        Parameters:
        name - name of the property.
        type - type of the property.