}\r
\r
\r
-RequiredAttributeNotFoundException::RequiredAttributeNotFoundException ( const string& attributeName,\r
- const string& elementName )\r
- : InvalidBuildFileException ( "Required attribute '%s' not found on '%s'.",\r
+RequiredAttributeNotFoundException::RequiredAttributeNotFoundException (\r
+ const string& location,\r
+ const string& attributeName,\r
+ const string& elementName )\r
+ : InvalidBuildFileException ( location,\r
+ "Required attribute '%s' not found on '%s'.",\r
attributeName.c_str (),\r
elementName.c_str ())\r
{\r
}\r
\r
-InvalidAttributeValueException::InvalidAttributeValueException ( const string& name,\r
- const string& value )\r
- : InvalidBuildFileException ( "Attribute '%s' has an invalid value '%s'.",\r
+InvalidAttributeValueException::InvalidAttributeValueException (\r
+ const string& location,\r
+ const string& name,\r
+ const string& value )\r
+ : InvalidBuildFileException ( location,\r
+ "Attribute '%s' has an invalid value '%s'.",\r
name.c_str (),\r
value.c_str () )\r
{\r
\r
UnknownBackendException::UnknownBackendException ( const string& name )\r
: Exception ( "Unknown Backend requested: '%s'",\r
- name.c_str() )\r
+ name.c_str() )\r
{\r
}\r
\r
-UnknownModuleTypeException::UnknownModuleTypeException ( const string& moduletype )\r
- : Exception ( "module type requested: '%s'",\r
- moduletype.c_str() )\r
+UnknownModuleTypeException::UnknownModuleTypeException ( const string& location,\r
+ const string& moduletype )\r
+ : InvalidBuildFileException ( location,\r
+ "module type requested: '%s'",\r
+ moduletype.c_str() )\r
{\r
}\r