Add detail to IllegalArgumentException handling in BaseAsValidator

Description

BaseAsValidator generates an error message if an IllegalArgumentException is thrown by the convertmethod. This message doesn’t include any details derived from the exception, probably because in the original use cases the exception didn’t carry any details.

There are plenty of use cases in which it would be useful to pass detailed information up through this mechanism, and BaseAsValidator should be extended to do this.

Environment

None

Activity

Ian YoungJanuary 30, 2024 at 4:38 PM

Done, commit 0ea335c538756219afc2f80f01c84be691164d1a.

Completed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created January 30, 2024 at 4:08 PM
Updated May 16, 2024 at 12:25 PM
Resolved January 30, 2024 at 4:44 PM