Changeset 1666
- Timestamp:
- 01/31/2007 09:42:28 PM (22 months ago)
- Files:
-
- 1 modified
-
trunk/framework/TComponent.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/TComponent.php
r1587 r1666 390 390 catch(Exception $e) 391 391 { 392 throw new TInvalidOperationException('component_expression_invalid',get_class($this),$expression,$e->getMessage()); 392 if($e instanceof TException) 393 throw $e; 394 else 395 throw new TInvalidOperationException('component_expression_invalid',get_class($this),$expression,$e->getMessage()); 393 396 } 394 397 } … … 413 416 catch(Exception $e) 414 417 { 415 throw new TInvalidOperationException('component_statements_invalid',get_class($this),$statements,$e->getMessage()); 418 if($e instanceof TException) 419 throw $e; 420 else 421 throw new TInvalidOperationException('component_statements_invalid',get_class($this),$statements,$e->getMessage()); 416 422 } 417 423 }
