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
Exception thrown when an HttpRequestPostMultipart is cancelled by the user.
- Author:
- Robert Fromont robert@fromont.net.nz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConstructorDefault constructor -
Method Summary
Modifier and TypeMethodDescriptionGetter forrRequest
: The request that was cancelledsetRequest
(HttpRequestPostMultipart rNewRequest) Setter forrRequest
: The request that was cancelledMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestCancelledException
public RequestCancelledException()Default constructor -
RequestCancelledException
Constructor- Parameters:
s
- Message.
-
RequestCancelledException
Default constructor- Parameters:
request
- The cancelled request.
-
-
Method Details
-
getRequest
Getter forrRequest
: The request that was cancelled- Returns:
- The request that was cancelled
-
setRequest
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.
-