Class ODataPayloadParsingFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.sdk.s4hana.datamodel.odata.exception.ODataPayloadParsingFailedException
All Implemented Interfaces:
Serializable

public class ODataPayloadParsingFailedException extends RuntimeException
ODataPayloadParsingFailedException will be thrown whenever the VDM encounters errors during parsing that cannot be recovered from. Possible causes are when the ODataJsonMapResolver is instructed to throw exceptions when encountering null values or when TypeConverters for specific fields cannot be instantiated.
See Also:
  • Constructor Details

    • ODataPayloadParsingFailedException

      public ODataPayloadParsingFailedException(@Nullable String message, @Nullable Exception cause)
      Returns a new ODataPayloadParsingFailedException instance.
      Parameters:
      message - The error message.
      cause - The exception causing the error.
    • ODataPayloadParsingFailedException

      public ODataPayloadParsingFailedException(@Nullable String message)
      Returns a new ODataPayloadParsingFailedException instance.
      Parameters:
      message - The error message.