Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4774#discussion_r143246933
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/configuration/IllegalConfigurationException.java
 ---
    @@ -42,6 +42,17 @@ public IllegalConfigurationException(String message) {
     
        /**
         * Constructs an new IllegalConfigurationException with the given error 
message
    +    * format and arguments.
    +    *
    +    * @param format The error message format for the exception.
    +    * @param arguments The arguments for the format.
    +    */
    +   public IllegalConfigurationException(String format, Object... 
arguments) {
    --- End diff --
    
    Curious: Why introduce the extra constructor and not call 
`String.format(...)` where the exception is created?


---

Reply via email to