JSDOC/Options.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 29 Jun 2010 08:34:01 +0000 (16:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 29 Jun 2010 08:34:01 +0000 (16:34 +0800)
JSDOC/Options.js

index 06a099f..8641bdd 100644 (file)
@@ -69,7 +69,12 @@ Options = {
             };
         }
          
-        
+        if (!this.cacheDirectory) {
+            throw {
+                name: "ArgumentError", 
+                message: "No cacheDirectory specified" 
+            };
+        }
         
     }
 }
\ No newline at end of file