Class ZenodoError

  • All Implemented Interfaces:
    Serializable

    public class ZenodoError
    extends Exception
    The Class ZenodoError.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Feb 7, 2020
    See Also:
    Serialized Form
    • Constructor Detail

      • ZenodoError

        public ZenodoError()
      • ZenodoError

        public ZenodoError​(String arg0)
      • ZenodoError

        public ZenodoError​(String arg0,
                           Throwable arg1,
                           boolean arg2,
                           boolean arg3)
      • ZenodoError

        public ZenodoError​(Throwable arg0)
    • Method Detail

      • setResponseHTTPCode

        public void setResponseHTTPCode​(Integer responseHTTPCode)
        Sets the response HTTP code.
        Parameters:
        responseHTTPCode - the new response HTTP code
      • getResponseHTTPCode

        public Integer getResponseHTTPCode()
        Gets the response HTTP code.
        Returns:
        the response HTTP code
      • getRemoteMessage

        public String getRemoteMessage()
        Gets the remote message.
        Returns:
        the remote message
      • setRemoteMessage

        public void setRemoteMessage​(String remoteMessage)
        Sets the remote message.
        Parameters:
        remoteMessage - the new remote message