google / google/gson

Provide object-model location in exceptions

Open
#395 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
24.2k
Forks
4.5k
Avg merge
6d 4h
Merged PRs (30d)
12

Description

```
What steps will reproduce the problem?
1. Try to serialize an object that has circular references

What is the expected output? What do you see instead?
A message that tells me the exact point that caused my exception to be
triggered(the method createDetailedException of CircularReferenceException
receives a FieldAttributes as argument that makes possible to create a much
more rich and intuitive message than just the name of the field like the class
that own the field that caused it).

What version of the product are you using? On what operating system?
1.7.2

```

Original issue reported on code.google.com by `Jayrmo...@gmail.com` on 28 Dec 2011 at 9:11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.