Yar_Server_Exception::getTypeRetrieve exception's type Description
public stringint Yar_Server_Exception::getType()
When a remote method throws an exception, the server embeds the original exception in the response and the client re-throws it as a Yar_Server_Exception. This method returns the class name of that original exception. ParametersThis function has no parameters. Return Values
The class name of the exception thrown by the remote service, or
ExamplesExample #1 Yar_Server_Exception::getType example The above example will output something similar to: string(16) "Custom_Exception" string(6) "client" See Also
|