Changeset 6840

Show
Ignore:
Timestamp:
12/01/09 15:28:58 (8 months ago)
Author:
jkaziukenas
Message:

[1.2][DC-308] Fixed thrown Exceptions to be package-level
Ticket: 308

Location:
branches/1.2/lib/Doctrine
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.2/lib/Doctrine/Adapter/Statement/Oracle.php

    r6838 r6840  
    9999    public function bindColumn($column, $param, $type = null) 
    100100    { 
    101         throw new Exception("Unsupported"); 
     101        throw new Doctrine_Adapter_Exception("Unsupported"); 
    102102    } 
    103103 
     
    374374            } 
    375375        } else { 
    376             throw new Exception("Unsupported mode: '" . $fetchStyle . "' "); 
     376            throw new Doctrine_Adapter_Exception("Unsupported mode: '" . $fetchStyle . "' "); 
    377377        } 
    378378 
     
    492492    public function nextRowset() 
    493493    { 
    494         throw new Exception("Unsupported"); 
     494        throw new Doctrine_Adapter_Exception("Unsupported"); 
    495495    } 
    496496 
     
    549549    public function setFetchMode($mode, $arg1 = null, $arg2 = null) 
    550550    { 
    551         throw new Exception("Unsupported"); 
     551        throw new Doctrine_Adapter_Exception("Unsupported"); 
    552552    } 
    553553 
  • branches/1.2/lib/Doctrine/Node/NestedSet.php

    r6799 r6840  
    634634                break; 
    635635                default: 
    636                     throw new Exception("Unknown move operation: $moveType."); 
     636                    throw new Doctrine_Node_Exception("Unknown move operation: $moveType."); 
    637637            } 
    638638