Class AS2HttpResponseException

    • Constructor Detail

      • AS2HttpResponseException

        public AS2HttpResponseException​(@Nonnull
                                        String sUrl,
                                        int nCode,
                                        @Nonnull
                                        String sMessage)
        Constructor
        Parameters:
        sUrl - The URL that caused the error.
        nCode - The HTTP status code.
        sMessage - The HTTP status message
    • Method Detail

      • getUrl

        @Nonnull
        public String getUrl()
        Returns:
        The URL that failed. Never null.
      • getCode

        public int getCode()
        Returns:
        The HTTP status code retrieved.
      • getMessage

        public String getMessage()
        Overrides:
        getMessage in class Throwable
        Returns:
        The HTTP status text retrieved.