Fawkes API
Fawkes Development Version
|
23 #ifndef _INTERFACES_GENERATOR_EXCEPTIONS_H_
24 #define _INTERFACES_GENERATOR_EXCEPTIONS_H_
26 #include <core/exception.h>
42 va_start(arg, format);
62 va_start(arg, format);
83 append(
"Invalid type for %s item '%s': %s", item, name, type);
101 append(
"Invalid value for '%s' of type %s: %s", name, type, value);
119 append(
"Attribute '%s' may not be specified for '%s' of type %s", attr, name, type);
135 append(
"Illegal flag '%s' set for %s", flag, name);
153 append(
"Attribute '%s' is required '%s' of type %s", attr, name, type);
167 append(
"There are multiple %s items with name '%s'", item, name);
183 append(
"%s name '%s' is a reserved identifier", item, name);
InterfaceGeneratorMissingAttributeException(const char *name, const char *type, const char *attr)
Constructor.
Thrown if name is ambiguous.
void append_va(const char *format, va_list va)
Append messages to the message list.
Exception()
Constructor for subclasses.
InterfaceGeneratorInvalidFlagException(const char *name, const char *flag)
Constructor.
InterfaceGeneratorInvalidAttributeException(const char *name, const char *type, const char *attr)
Constructor.
Thrown if illegal value is supplied.
InterfaceGeneratorInvalidContentException(const char *format,...)
Constructor.
Thrown if required attribute is missing supplied.
Thrown if document contains illegal content.
Thrown if illegal flag is supplied.
void append(const char *format,...)
Append messages to the message list.
Thrown if illegal type is supplied.
InterfaceGeneratorAmbiguousNameException(const char *name, const char *item)
Constructor.
Fawkes library namespace.
InterfaceGeneratorInvalidValueException(const char *name, const char *type, const char *value)
Constructor.
InterfaceGeneratorInvalidTypeException(const char *item, const char *name, const char *type)
Constructor.
Thrown if document was invalid.
Thrown if something is a reserved identifier.
Thrown if illegal attribute is supplied.
InterfaceGeneratorInvalidDocumentException(const char *format,...)
Constructor.
InterfaceGeneratorReservedIdentifierException(const char *item, const char *name)
InterfaceGeneratorReservedIdentifierException.
Base class for exceptions in Fawkes.