CodeDoc/Data/Method.php
[PHP_CodeDoc] / CodeDoc / Data / Method.php
index 9cb509a..28120f4 100644 (file)
@@ -135,6 +135,24 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
                 'xtype' => 'Section',
             );
         }
+        if ( !empty($this->description->throws)) {
+           
+            $items[] = array(
+                'stype' => 'throws',
+                '|xns' => 'Roo.doc',
+                'xtype' => 'Section',
+                'items' => array(
+                    array(
+                        '|xns' => 'Roo.doc',
+                        'xtype' => 'para',
+                        'html' => $this->description->throws
+                    )
+                    
+                )
+            );
+        }
+        
+        
                         /* -- fixme - needs to read from an example file..
                         array(
                             'stype' => 'example',