Package nzilbb.labbcat.http
Class RequestCancelledException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- nzilbb.labbcat.http.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 Summary
Constructors Constructor Description RequestCancelledException()Default constructorRequestCancelledException(String s)ConstructorRequestCancelledException(HttpRequestPostMultipart request)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequestPostMultipartgetRequest()Getter forrRequest: The request that was cancelledRequestCancelledExceptionsetRequest(HttpRequestPostMultipart rNewRequest)Setter forrRequest: The request that was cancelled-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 forrRequest: The request that was cancelled- Returns:
- The request that was cancelled
-
setRequest
public RequestCancelledException setRequest(HttpRequestPostMultipart rNewRequest)
Setter forrRequest: The request that was cancelled- Parameters:
rNewRequest- The request that was cancelled- Returns:
- A reference to this object, so that setters can be chained.
-
-