MethodInvocationErrorInfo informs the client of an error that occured on
a method invocation.
It defines constants, that can be used to identify what kind of error occured.
This class is used in conjunction with the MethodInvocationCallback and MethodInvocationErrorListener classes.
public function MethodInvocationErrorInfo(serviceUrl:String, methodName:String, methodArguments:Array, errorCode:Number, exception)
Constructs a new MethodInvocationErrorInfo instance.
If errorCode is null or undefined, UNKNOWN_ERROR
is used.
serviceUrl | the url to the service the method should be or was invoked on |
methodName | the name of the method that should be or was invoked on the service |
methodArguments | the arguments used as parameters for the method invocation |
exception | the exception that caused the error |
static public UNKNOWN_ERROR:Numberstatic public UNKNOWN_SERVICE_ERROR:Numberstatic public UNKNOWN_METHOD_ERROR:Numberstatic public OVERSIZED_ARGUMENTS_ERROR:Numberstatic public METHOD_EXCEPTION_ERROR:Numberpublic function getServiceUrl(Void):StringReturns the url to the service the method should be or was invoked on.
the url to the service the method should be or was invoked on
public function getMethodName(Void):StringReturns the name of the method that caused this error.
the name of the method that should be or was invoked on the service
public function getMethodArguments(Void):ArrayReturns the arguments used as parameters for the method invocaton that caused this error.
the arguments used as parameters for the method invocation