Class RequestCancelledException

  • All Implemented Interfaces:
    Serializable

    public class RequestCancelledException
    extends IOException
    Exception thrown when an HttpRequestPostMultipart is cancelled by the user.
    Author:
    Robert Fromont robert@fromont.net.nz
    See Also:
    Serialized Form
    • Constructor Detail

      • RequestCancelledException

        public RequestCancelledException()
        Default constructor
      • RequestCancelledException

        public RequestCancelledException​(String s)
        Constructor
        Parameters:
        s - Message.
      • RequestCancelledException

        public RequestCancelledException​(HttpRequestPostMultipart request)
        Default constructor
        Parameters:
        request - The cancelled request.
    • Method Detail

      • getRequest

        public HttpRequestPostMultipart getRequest()
        Getter for rRequest: The request that was cancelled
        Returns:
        The request that was cancelled
      • setRequest

        public RequestCancelledException setRequest​(HttpRequestPostMultipart rNewRequest)
        Setter for rRequest: The request that was cancelled
        Parameters:
        rNewRequest - The request that was cancelled
        Returns:
        A reference to this object, so that setters can be chained.