}\r
\r
\r
+OutOfMemoryException::OutOfMemoryException ()\r
+ : Exception ( "Out of memory" )\r
+{\r
+}\r
+\r
+\r
InvalidOperationException::InvalidOperationException ( const char* filename,\r
const int linenumber )\r
{\r
{\r
}\r
\r
+\r
UnknownModuleTypeException::UnknownModuleTypeException ( const string& location,\r
int moduletype )\r
: InvalidBuildFileException ( location,\r
moduletype )\r
{\r
}\r
+\r
+\r
+InvocationFailedException::InvocationFailedException ( const std::string& command,\r
+ int exitcode )\r
+ : Exception ( "Failed to execute '%s' (exit code %d)",\r
+ command.c_str (),\r
+ exitcode )\r
+{\r
+ Command = command;\r
+ ExitCode = exitcode;\r
+}\r