d04014ced6609382319b578bd684da887f3bd4cb
8 Exception::Exception ()
12 Exception::Exception ( const string
& message
)
17 Exception::Exception ( const char* format
,
23 Message
= ssvprintf ( format
,
28 void Exception::SetMessage ( const char* message
,
31 Message
= ssvprintf ( message
,
36 InvalidOperationException::InvalidOperationException ( const char* filename
,
39 Message
= ssprintf ( "%s:%d",
45 FileNotFoundException::FileNotFoundException ( const string
& filename
)
46 : Exception ( "File '%s' not found.",
53 AccessDeniedException::AccessDeniedException ( const string
& filename
)
54 : Exception ( "Access denied to file '%s'.",
61 InvalidBuildFileException::InvalidBuildFileException ( const char* message
,
72 InvalidBuildFileException::InvalidBuildFileException ()
77 XMLSyntaxErrorException::XMLSyntaxErrorException ( const string
& location
,
84 Message
= location
+ ": " + ssvprintf ( message
, args
);
89 RequiredAttributeNotFoundException::RequiredAttributeNotFoundException ( const string
& attributeName
,
90 const string
& elementName
)
91 : InvalidBuildFileException ( "Required attribute '%s' not found on '%s'.",
92 attributeName
.c_str (),
97 InvalidAttributeValueException::InvalidAttributeValueException ( const string
& name
,
99 : InvalidBuildFileException ( "Attribute '%s' has an invalid value '%s'.",
106 BackendNameConflictException::BackendNameConflictException ( const string
& name
)
107 : Exception ( "Backend name conflict: '%s'",
113 UnknownBackendException::UnknownBackendException ( const string
& name
)
114 : Exception ( "Unknown Backend requested: '%s'",