working example with expected error: "java.lang.IllegalArgumentException: Can't convert object of type org.postgresql.util.PGobject"