Class JsonParsingException

Object
Throwable
Exception
RuntimeException
akka.javasdk.agent.JsonParsingException
All Implemented Interfaces:
Serializable

public class JsonParsingException extends RuntimeException
Exception thrown when there is an error parsing JSON responses from the model. This exception can be used to handle JSON parsing errors gracefully.

It includes the raw JSON string that caused the error.

See Also:
  • Constructor Details

  • Method Details

    • getRawJson

      public String getRawJson()