Changeset 667
- Timestamp:
- 05/08/07 22:43:49 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/examples/service/MathService.php
r666 r667 17 17 * @return string 18 18 */ 19 public function add($a, $b) {20 return $a+$b;21 }19 public function add($a, $b) { 20 return $a+$b; 21 } 22 22 23 /**24 * Method to throw an exception25 *26 * @WebMethod27 */28 public function throwException() {29 throw new stubException("This exception is intended.");30 }23 /** 24 * Method to throw an exception 25 * 26 * @WebMethod 27 */ 28 public function throwException() { 29 throw new stubException("This exception is intended."); 30 } 31 31 } 32 32 ?>
