b2-sdk-java icon indicating copy to clipboard operation
b2-sdk-java copied to clipboard

B2JsonDurationHandler should throw for invalid input

Open certainmagic opened this issue 7 years ago • 0 comments

Right now, B2JsonDurationHandler will return a null value instead of throwing a B2Exception when it gets invalid input. It should throw a B2JsonBadValueException instead.

We might want to wait for a major release to make this change in behavior.

certainmagic avatar Oct 23 '18 20:10 certainmagic