[AS3] Class r1.rpc.ErrorResult

[AS3] Class r1.rpc.ErrorResult

Client API
Packager1.rpc
Classpublic class ErrorResult
InheritanceErrorResult Inheritance RPCResult Inheritance flash.events.Event

The error result from RPCs, which include local RPC errors and server side exceptions.



Public Properties
 PropertyDefined by
  errorDetail : ErrorResult
[read-only] The error detail object, which is this object itself.
ErrorResult
 InheritederrorMessage : String
RPCResult
 Inheritedfailed : Boolean
A convenience property that checks if the type name is not "success".
RPCResult
  message : String
[read-only] The error message.
ErrorResult
 InheritedserverMessages : Array
RPCResult
 Inheritedsuccess : Boolean
A convenience property that checks if the type name is "success".
RPCResult
 InheritedSUCCESS : RPCResult
[static] The SUCCESS singleton for all successful remote calls.
RPCResult
Public Methods
 MethodDefined by
  
ErrorResult(type:String, msg:String)
ErrorResult
  
systemError():Boolean
Indicating whether this error is a system one.
ErrorResult
  
toString():String
ErrorResult
Public Constants
 ConstantDefined by
  RPC_ERROR : String
[static]
ErrorResult
  RPC_IO_ERROR : String
[static]
ErrorResult
 InheritedRPC_MESSAGE : String = "message"
[static]
RPCResult
 InheritedRPC_SUCCESS : String = "success"
[static]
RPCResult
  RPC_URL_NOT_SET : String
[static]
ErrorResult
  SERVER_AUTH_FAILURE : String = "SERVER_AUTH_FAILURE"
[static]
ErrorResult
  SERVER_CONFIG_ERROR : String = "SERVER_CONFIG_ERROR"
[static]
ErrorResult
  SERVER_ERR_MARSHALL : String = "SERVER_ERR_MARSHALL"
[static]
ErrorResult
  SERVER_ERR_NO_METHOD : String = "SERVER_ERR_NO_METHOD"
[static]
ErrorResult
  SERVER_ERR_PARSE : String = "SERVER_ERR_PARSE"
[static]
ErrorResult
  SERVER_ERR_UNMARSHALL : String = "SERVER_ERR_UNMARSHALL"
[static]
ErrorResult
Property detail
errorDetailproperty
errorDetail:ErrorResult  [read-only]

The error detail object, which is this object itself.

Implementation
    public function get errorDetail():ErrorResult
messageproperty 
message:String  [read-only]

The error message.

Implementation
    public function get message():String
Constructor detail
ErrorResult()constructor
public function ErrorResult(type:String, msg:String)

Parameters
type:String — Either a system error name or a Java exception class name preceded with "JAVA::".
 
msg:String
Method detail
systemError()method
public function systemError():Boolean

Indicating whether this error is a system one.

Returns
Boolean
toString()method 
public override function toString():String

Returns
String
Constant detail
RPC_ERRORconstant
public static const RPC_ERROR:String
RPC_IO_ERRORconstant 
public static const RPC_IO_ERROR:String
RPC_URL_NOT_SETconstant 
public static const RPC_URL_NOT_SET:String
SERVER_AUTH_FAILUREconstant 
public static const SERVER_AUTH_FAILURE:String = "SERVER_AUTH_FAILURE"
SERVER_CONFIG_ERRORconstant 
public static const SERVER_CONFIG_ERROR:String = "SERVER_CONFIG_ERROR"
SERVER_ERR_MARSHALLconstant 
public static const SERVER_ERR_MARSHALL:String = "SERVER_ERR_MARSHALL"
SERVER_ERR_NO_METHODconstant 
public static const SERVER_ERR_NO_METHOD:String = "SERVER_ERR_NO_METHOD"
SERVER_ERR_PARSEconstant 
public static const SERVER_ERR_PARSE:String = "SERVER_ERR_PARSE"
SERVER_ERR_UNMARSHALLconstant 
public static const SERVER_ERR_UNMARSHALL:String = "SERVER_ERR_UNMARSHALL"