Seems correct. Can one of the PHP experts chime in here?
On Thu, Jun 24, 2010 at 10:57 AM, Justin Wyllie <[email protected]>wrote: > > Sorry... > In ApiServlet > > Instead of: > try { throw new SocialSpiException("The service " . > $requestItem->getService() . " is not implemented", > ResponseError::$NOT_IMPLEMENTED); } catch > (SocialSpiException $e) { $response = new > ResponseItem($e->getCode(), $e->getMessage()); return $response; > } > perhaps just > $response = new ResponseItem(501, The service " . > $requestItem->getService() . " is not implemented"); return > $response; > No need to throw an exception. > > > > > > > _________________________________________________________________ > http://clk.atdmt.com/UKM/go/195013117/direct/01/ >
