str = @basename($ex->getFile()).':'.$ex->getLine().'::'.$ex->getMessage().''; } /** Return exception data as string * @return String exception information */ public function getString() { return (string) $this->str; } } /** WookieConnectorException class * @package org.wookie.php */ class WookieConnectorException extends Exception { /** Convert exception data to String * @return String exception information */ public function toString() { $exStr = new ExceptionString($this); return $exStr->getString(); } } /** WookieWidgetInstanceException class * @package org.wookie.php */ class WookieWidgetInstanceException extends Exception { /** Convert exception data to String * @return String exception information */ public function toString() { $exStr = new ExceptionString($this); return $exStr->getString(); } } ?>