|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.protocol.ErrorData com.adobe.flashaccess.sdk.protocol.CustomErrorData
public class CustomErrorData
Customer-specific custom error data. This class can be used to pass back customer-specific errors from the server to a requesting client if the existing Adobe Flash Access errors are not suitable. The error code will be visible to client applications, but the message text is not provided to the client in Flash Access 2.0.
The message text should be locale-specific.
Field Summary | |
---|---|
static java.lang.String |
CUSTOM_NAMESPACE
The namespace used for application-defined errors. |
Constructor Summary | |
---|---|
CustomErrorData(int errorCode)
Creates a CustomErrorData object. |
|
CustomErrorData(int errorCode,
java.lang.String message)
Creates a CustomErrorData object. |
Method Summary | |
---|---|
java.lang.String |
getMessage(java.util.Locale loc)
Retrieves the message provided to the constructor, disregarding the locale parameter, if present. |
Methods inherited from class com.adobe.flashaccess.sdk.protocol.ErrorData |
---|
getErrorCode, getMessage, getNamespace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CUSTOM_NAMESPACE
Constructor Detail |
---|
public CustomErrorData(int errorCode, java.lang.String message)
CustomErrorData
object.
errorCode
- The error code.message
- The friendly text description of the error code.public CustomErrorData(int errorCode)
CustomErrorData
object.
errorCode
- The error code.Method Detail |
---|
public java.lang.String getMessage(java.util.Locale loc)
getMessage
in class ErrorData
loc
- The locale to use, or null
to use the default locale.
ErrorData.getMessage(java.util.Locale)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |