/** * @param key the field name associated with the error. * @return an error by key * * @deprecated Deprecated as of 2.7.0. Method has been renamed to {@link #error(String)}. */ @Deprecated public Optional<ValidationError> getError(String key) { return error(key); }
/** * @param key the field name associated with the error. * @return an error by key * * @deprecated Deprecated as of 2.7.0. Method has been renamed to {@link #error(String)}. */ @Deprecated public Optional<ValidationError> getError(String key) { return error(key); }
/** * @param key the field name associated with the error. * @return an error by key * * @deprecated Deprecated as of 2.7.0. Method has been renamed to {@link #error(String)}. */ @Deprecated public Optional<ValidationError> getError(String key) { return error(key); }
/** * Retrieve an error by key. */ public ValidationError error(String key) { return super.error(asDynamicKey(key)); }
@Override public Optional<ValidationError> error(String key) { return super.error(asDynamicKey(key)); }
/** * Retrieve an error by key. */ public ValidationError error(String key) { return super.error(asDynamicKey(key)); }
@Override public Optional<ValidationError> error(String key) { return super.error(asDynamicKey(key)); }
@Override public Optional<ValidationError> error(String key) { return super.error(asDynamicKey(key)); }