[AS3] Class r1.rpc.ErrorResult |
Client API |
| Package | r1.rpc |
| Class | public class ErrorResult |
| Inheritance | ErrorResult RPCResult flash.events.Event |
Public Properties
| Property | Defined by | ||
|---|---|---|---|
| errorDetail : ErrorResult
[read-only]
The error detail object, which is this object itself.
| ErrorResult | ||
![]() | errorMessage : String | RPCResult | |
![]() | failed : Boolean
A convenience property that checks if the type name is not "success".
| RPCResult | |
| message : String [read-only]
The error message.
| ErrorResult | ||
![]() | serverMessages : Array | RPCResult | |
![]() | success : Boolean
A convenience property that checks if the type name is "success".
| RPCResult | |
![]() | SUCCESS : RPCResult
[static]
The SUCCESS singleton for all successful remote calls.
| RPCResult | |
Public Methods
| Method | Defined by | ||
|---|---|---|---|
|
ErrorResult(type:String, msg:String)
| ErrorResult | ||
|
systemError():Boolean
Indicating whether this error is a system one.
| ErrorResult | ||
|
toString():String
| ErrorResult | ||
Public Constants
| Constant | Defined by | ||
|---|---|---|---|
| RPC_ERROR : String [static]
| ErrorResult | ||
| RPC_IO_ERROR : String [static]
| ErrorResult | ||
![]() | RPC_MESSAGE : String = "message" [static]
| RPCResult | |
![]() | RPC_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
| errorDetail | property |
errorDetail:ErrorResult [read-only]The error detail object, which is this object itself.
Implementation public function get errorDetail():ErrorResult
| message | property |
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():BooleanIndicating whether this error is a system one.
ReturnsBoolean |
| toString | () | method |
public override function toString():String
Returns
String |
Constant detail
| RPC_ERROR | constant |
public static const RPC_ERROR:String
| RPC_IO_ERROR | constant |
public static const RPC_IO_ERROR:String
| RPC_URL_NOT_SET | constant |
public static const RPC_URL_NOT_SET:String
| SERVER_AUTH_FAILURE | constant |
public static const SERVER_AUTH_FAILURE:String = "SERVER_AUTH_FAILURE"
| SERVER_CONFIG_ERROR | constant |
public static const SERVER_CONFIG_ERROR:String = "SERVER_CONFIG_ERROR"
| SERVER_ERR_MARSHALL | constant |
public static const SERVER_ERR_MARSHALL:String = "SERVER_ERR_MARSHALL"
| SERVER_ERR_NO_METHOD | constant |
public static const SERVER_ERR_NO_METHOD:String = "SERVER_ERR_NO_METHOD"
| SERVER_ERR_PARSE | constant |
public static const SERVER_ERR_PARSE:String = "SERVER_ERR_PARSE"
| SERVER_ERR_UNMARSHALL | constant |
public static const SERVER_ERR_UNMARSHALL:String = "SERVER_ERR_UNMARSHALL"
Hide Inherited Public Properties
Show Inherited Public Properties