Hi, I'm currently working on the basics of a quite big RPC server. I'm using the qooxdoo rpc server for php. In the test class it says you can call throw new JsonRpcError(ERRORCODE, ERRORMESSAGE); from everywhere in your script.
But when I try this (and even when I run the test service) it says "Fatal PHP Error: Exceptions must be valid objects derived from the Exception base class in ..." When I had a look in the JsonRpcError constructor it seems like it is using totally different parameters. Does anybody know how to use this correctly in a method where I don't have the $error var? The only thing that I know in this part of the app is, that I am in a service class. Best regards, Michael ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
