Description
If we receive wrong information (e.g. an illegal Base64 encoded byte[]) then we currently throw an IllegalArgumentException.
The following behaviour is defined in the specifications:
According to the JSON-B spec we should throw a JsonbException
https://static.javadoc.io/javax.json.bind/javax.json.bind-api/1.0/index.html?javax/json/bind/annotation/package-summary.html
If native JSON-P is being used we should throw a JsonParsingException
https://docs.oracle.com/javaee/7/api/javax/json/JsonReader.html#read--