FunctionFactoryErrors.h
Classes
- FunctionFactoryError -- (full description)
- UnrecognizedFunctionError -- (full description)
- InvalidSerializationError -- (full description)
- FieldNotFoundError -- (full description)
Interface
- Public Members
- FunctionFactoryError(const String& message,Category c=GENERAL) : c(message,c)
- virtual ~FunctionFactoryError() throw()
Member Description
Interface
- UnrecognizedFunctionError(const String& name, Category c=INVALID_ARGUMENT) : FunctionFactoryError(String("Unrecognized function: ") + name,c), fname(name)
- virtual ~UnrecognizedFunctionError() throw()
- const String& getName()
Member Description
UnrecognizedFunctionError(const String& name, Category c=INVALID_ARGUMENT) : FunctionFactoryError(String("Unrecognized function: ") + name,c), fname(name)
create an exception indicating that the a function of the given name
is not recognized
Interface
- InvalidSerializationError(const String& reason,Category c=GENERAL) : FunctionFactoryError(preamble + reason,c), reas(reason)
- virtual ~InvalidSerializationError() throw()
- const String& getReason()
Member Description
InvalidSerializationError(const String& reason,Category c=GENERAL) : FunctionFactoryError(preamble + reason,c), reas(reason)
create an exception indicating a Record serialization of a
Function is invalid. The error message will be a "Invalid function
description in record: " + reason.
Interface
- FieldNotFoundError(const String& field,Category c=GENERAL) : c(String("No ") + field + " defined",c), fname(field)
- virtual ~FieldNotFoundError() throw()
Member Description
FieldNotFoundError(const String& field,Category c=GENERAL) : c(String("No ") + field + " defined",c), fname(field)