public class AsyncUtil
extends java.lang.Object
| Constructor and Description |
|---|
AsyncUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getAsyncMessage(AsyncOperationResult result)
Returns a user-displayable message for the given
AsyncOperationResult if its type is not SUCCESS. |
public static java.lang.String getAsyncMessage(AsyncOperationResult result)
AsyncOperationResult if its type is not SUCCESS. isc.getAsyncMessage() and AsyncUtil.getAsyncMessage() are equivalent.
result - the AsyncOperationResult.type is SUCCESS, then null; otherwise,
a user-displayable message describing the non-successful result.
See HTMLStringcom.smartgwt.client.util.AsyncUtil#asyncErrorMessageGeneric,
com.smartgwt.client.util.AsyncUtil#asyncCanceledMessage,
com.smartgwt.client.util.AsyncUtil#asyncCanceledMessageGeneric,
com.smartgwt.client.util.AsyncUtil#asyncDisabledMessageGeneric,
com.smartgwt.client.util.AsyncUtil#asyncNonSuccessMessage,
com.smartgwt.client.util.AsyncUtil#asyncNonSuccessMessageGeneric