Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Commit

Permalink
Removed some unused code from StandardStimuli. Tweaked some exception…
Browse files Browse the repository at this point in the history
… message formatting.
  • Loading branch information
cstawarz committed Mar 25, 2011
1 parent 5164438 commit 334a529
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 424 deletions.
6 changes: 3 additions & 3 deletions Core/Exceptions/Exceptions.h
Expand Up @@ -163,12 +163,12 @@ class FatalParserException : public SimpleException {

class UnknownExpressionException : public SimpleException {
public:
UnknownExpressionException(string _subject) : SimpleException(M_PARSER_MESSAGE_DOMAIN, "Invalid expression: ", _subject){ }
UnknownExpressionException(string _subject) : SimpleException(M_PARSER_MESSAGE_DOMAIN, "Invalid expression", _subject){ }
};

class UnknownVariableException : public SimpleException {
public:
UnknownVariableException(string _subject) : SimpleException(M_PARSER_MESSAGE_DOMAIN, "Invalid variable definition: ", _subject){ }
UnknownVariableException(string _subject) : SimpleException(M_PARSER_MESSAGE_DOMAIN, "Invalid variable definition", _subject){ }
};


Expand All @@ -179,7 +179,7 @@ class ComponentFactoryConflictException : public SimpleException{
public:

ComponentFactoryConflictException(string _subject) :
SimpleException(M_PLUGIN_MESSAGE_DOMAIN, "A plugin has attempted to redefine the behavior of an existing component signature.", _subject){
SimpleException(M_PLUGIN_MESSAGE_DOMAIN, "A plugin has attempted to redefine the behavior of an existing component signature", _subject){
}

virtual ~ComponentFactoryConflictException() throw() {}
Expand Down

0 comments on commit 334a529

Please sign in to comment.