The cause message (NumberFormatException) usually contains the value. But you're right, the message should contain the id as well.