Class InvalidPropertyTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidPropertyTypeException
    extends PropertyException
    Thrown when a property type is incompatible with another property type.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Property getInvalidProperty()
      Returns the property which type is incompatible with the property type.
      • 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

      • InvalidPropertyTypeException

        public InvalidPropertyTypeException​(Property property,
                                            Property invalidProperty,
                                            java.lang.String text)
        Constructor.
        Parameters:
        property - the property
        invalidProperty - the property which type is incompatible with the property type
        text - the exception text
    • Method Detail

      • getInvalidProperty

        public Property getInvalidProperty()
        Returns the property which type is incompatible with the property type.
        Returns:
        the property which type is incompatible with the property type