/** * Creates a new instance of {@code PropertyException} taking a property * name, the invalid value and a causing throwable. * * @param name the name of the property with invalid value. * @param value the invalid value of the property with name {@code name}. * @param cause the causing throwable. */ public PropertyException( final String name, final Object value, final Throwable cause ) { super( PropertyExceptionBundle.getInstance(). getPropertyExceptionMessage( Locale.getDefault(), name, value.toString() ) ); this.initCause( cause ); this.name = name; this.value = value; }