Class CMAHttpException.ErrorBody

  • Enclosing class:
    CMAHttpException

    public static class CMAHttpException.ErrorBody
    extends java.lang.Object
    Error body potentially delivered with an error request.
    • Constructor Detail

      • ErrorBody

        public ErrorBody()
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns:
        the message this error contained.
      • getRequestId

        public java.lang.String getRequestId()
        Returns:
        the request id used to help the Contentful staff.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a human readable string, representing the object.