Merge trunk HEAD (r46369)
[reactos.git] / reactos / tools / rbuild / exception.h
index 82db9cb..c095285 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#ifndef __EXCEPTION_H
-#define __EXCEPTION_H
+
+#pragma once
 
 #include "pch.h"
 #include "xml.h"
@@ -39,6 +39,13 @@ private:
 };
 
 
+class MissingArgumentException : public Exception
+{
+public:
+       MissingArgumentException ( const std::string& argument );
+};
+
+
 class InvalidOperationException : public Exception
 {
 public:
@@ -73,6 +80,12 @@ public:
        std::string Filename;
 };
 
+class InvalidDateException : public Exception
+{
+public:
+       InvalidDateException ( const std::string& filename );
+       std::string Filename;
+};
 
 class RequiredAttributeNotFoundException : public XMLInvalidBuildFileException
 {
@@ -131,5 +144,3 @@ public:
        std::string BuildTool;
        std::string Version;
 };
-
-#endif /* __EXCEPTION_H */