|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.AbstractProxy
flex.messaging.io.StatusInfoProxy
public class StatusInfoProxy
Serializes a Throwable as a Status Info object, which is sent back to the client as an ActionScript object with the following keys:
Server.Processing.
To be expanded in a future version.
| Field Summary | |
|---|---|
static String |
CLASS
The class name of the Throwable instance, if allowed to be revealed to the client... |
static String |
CODE
Hierarchical dot "." string description of the problem. |
static String |
DESCRIPTION
Brief description of the error. |
static String |
DETAILS
Long description of the error. |
static List |
propertyNameCache
|
static String |
ROOTCAUSE
|
| Constructor Summary | |
|---|---|
StatusInfoProxy()
|
|
StatusInfoProxy(Throwable defaultInstance)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a copy of the PropertyProxy so that it can be used as a template without modifying/creating global references to instances, descriptors etc. |
String |
getAlias(Object instance)
The class name alias for the given instance. |
List |
getPropertyNames(Object instance)
The List of property names as Strings that make up the traits of the given instance. |
Class |
getType(Object instance,
String propertyName)
Looks up the Class type of the property by name on the given instance. |
Object |
getValue(Object instance,
String propertyName)
Looks up the value of a property by name for the given instance. |
void |
setShowStacktraces(boolean value)
|
void |
setValue(Object instance,
String propertyName,
Object value)
Updates the value of a property by name for the given instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DESCRIPTION
public static final String DETAILS
public static final String CLASS
public static final String CODE
The top error string shall be on of the following....
Client - Indicates the error was caused by something the client did. Possibly the message was not well formed and/or did not contain the proper information.Server - Indicates the error was caused by something not directly related to the contents of the message. Possibly the server could not gain a needed resource or communicate with the desire WebService.
VersionMismatch - The received AMF packet was of a version that the Server does not recognize.
The server can generate any number of sub errors to be attached to one of the 3 above roots. The idea is that these strings provide an intuitive description of where the problem happened and what it was. Ultimately, finding and fixing the errors fast is the goal.
public static final String ROOTCAUSE
public static final List propertyNameCache
| Constructor Detail |
|---|
public StatusInfoProxy()
public StatusInfoProxy(Throwable defaultInstance)
| Method Detail |
|---|
public void setShowStacktraces(boolean value)
public String getAlias(Object instance)
PropertyProxy
instance - the object to get the alias of.
public List getPropertyNames(Object instance)
PropertyProxy
instance - the object to examine
public Class getType(Object instance,
String propertyName)
PropertyProxy
instance - The instance that possesses the property.propertyName - The name of the property.
public Object getValue(Object instance,
String propertyName)
PropertyProxy
instance - The instance that possesses the requested property.propertyName - The name of the property.
public void setValue(Object instance,
String propertyName,
Object value)
PropertyProxy
instance - The instance that possesses the requested property.propertyName - The name of the property to update.value - The updated value for the property.public Object clone()
AbstractProxy
clone in interface PropertyProxyclone in class AbstractProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/StatusInfoProxy.html