public interface TransportError
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
An error message associated with the error, if applicable.
|
Throwable |
getException()
Any exception associated with the error.
|
com.google.gwt.http.client.Request |
getRequest()
The
Request associated with the error. |
RetryInfo |
getRetryInfo()
Provides the retry information for the failed action that led to this error.
|
TransportHandler |
getSource()
The
TransportHandler where this error came from. |
int |
getStatusCode()
Any applicable HTTP status code with the error.
|
boolean |
isHTTP()
Returns true if the error occurred as the result of an HTTP request.
|
boolean |
isWebSocket()
Returns true if the error occurred as a result of a problem with a
WebSockets channel.
|
void |
stopDefaultErrorHandling()
Causes the ClientMessageBus to behave as if this error did not happen.
|
TransportHandler getSource()
TransportHandler
where this error came from. Never null.com.google.gwt.http.client.Request getRequest()
Request
associated with the error.String getErrorMessage()
boolean isHTTP()
boolean isWebSocket()
int getStatusCode()
Throwable getException()
void stopDefaultErrorHandling()
bus lifecycle
will occur.
To recover from this indeterminate state, restart the bus by calling
ClientMessageBus.stop(boolean)
followed by
ClientMessageBus.init()
at a later time.
RetryInfo getRetryInfo()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.