Hello @mjsax 

As discussed in [KIP 
thread](https://www.mail-archive.com/[email protected]&q=subject:%22%5C%5BDISCUSS%5C%5D+KIP%5C-358%5C%3A+Migrate+Streams+API+to+Duration+instead+of+long+ms+times%22&o=newest&f=1)
 we want to wrap NPE and `ArithmeticException` into `IllegalArgumentException`

See @vvcephei suggestion: "I still feel that surfacing the ArithmeticException 
directly would not be a great experience, so I still advocate for wrapping it 
in an IllegalArgumentException that explains our upper bound for Duration is 
"max-long number of milliseconds"

[ Full content available at: https://github.com/apache/kafka/pull/5682 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to