Class JsonWriteException

All Implemented Interfaces:
Serializable

public class JsonWriteException extends JsonException
Thrown when an object cannot be written as JSON.

Unlike JsonReadException, the fault is on this side of the wire: the object graph has no JSON representation. Retrying does not help.

See Also:
  • Constructor Details

    • JsonWriteException

      public JsonWriteException(Throwable cause)
    • JsonWriteException

      public JsonWriteException(String message, Throwable cause)