Class ConfigurationBindingException

All Implemented Interfaces:
Serializable

public class ConfigurationBindingException extends IllegalArgumentException
Thrown when ConfigurationBinder or TaskExecutionContext.setOutputs(T) cannot bind a record to a configuration - an unknown property name, an unsupported property kind, a missing required value, a non-public record or canonical constructor, a reference chain that cycles or runs deeper than binding follows, or a password property bound to anything but a Secret.

Never includes a property value in its message - only names, kinds and types. A bound value may be a credential, and an exception message is one of the easiest ways for one to end up in a log.

See Also:
  • Constructor Details

    • ConfigurationBindingException

      public ConfigurationBindingException(String message)
    • ConfigurationBindingException

      public ConfigurationBindingException(String message, Throwable cause)