|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportError
A class representing the details of a network/transport error on the bus.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |