I am getting a NumberFormatException and i want to fetch the value from the exception itself , which looks like
But there is no getter available for the value, can anyone suggest any solution to fetch this value rather than reflection, or even reflection can be fine.
If you explicitly check for TypeMismatchException, you can retrieve that value simply by calling getValue()