Class PropertyTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PropertyTypeException
    extends java.lang.ClassCastException
    Indicates that the value provided cannot be cast to the correct type for the property.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String messageFor​(Property<?> targetProperty, java.lang.Object value)  
      • 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

      • PropertyTypeException

        public PropertyTypeException()
      • PropertyTypeException

        public PropertyTypeException​(java.lang.String s)
      • PropertyTypeException

        public PropertyTypeException​(Property<?> targetProperty,
                                     java.lang.Object value)
    • Method Detail

      • messageFor

        protected static java.lang.String messageFor​(Property<?> targetProperty,
                                                     java.lang.Object value)