| Exception Thrown By: | Cause | |
| Class | Method | |
| Document | public String toJson() | if the document contains types not in the default registry. |
| Document | public String toJson(JsonWriterSettings writerSettings) | if the document contains types not in the default registry. |
| Document | public String toJson(Encoder | if the registry does not contain a codec for the document values. |