src/Palete/VapiParser.vala
[app.Builder.js] / src / Palete / VapiParser.vala
index ec0bb04..c3aad3d 100644 (file)
@@ -352,7 +352,7 @@ namespace Palete {
                        //gir_parser.parse (context);
                        if (context.report.get_errors () > 0) {
                                
-                               throw new 
+                               throw new VapiParserError.PARSE_FAILED("failed parse VAPIS, so we can not write file correctly");
                                
                                print("parse got errors");
                                 
@@ -367,7 +367,7 @@ namespace Palete {
                        context.check ();
                        if (context.report.get_errors () > 0) {
                                print("check got errors");
-                                
+                                throw new VapiParserError.PARSE_FAILED("failed check VAPIS, so we can not write file correctly");
                                Vala.CodeContext.pop ();
                                 
                                return;