#include <strategyChange.hh>
Public Member Functions | |
| StrategyChange (const Subdivision &oldStrategy, const Subdivision &newStrategy, const Connector &conn) throw () | |
| const Subdivision & | oldStrategy () const throw () |
| Returns the old strategy. | |
| const Subdivision & | newStrategy () const throw () |
| Returns the new strategy. | |
| const Connector & | connector () const throw () |
| Returns the quad. | |
| void | setFields (const std::string &file, const unsigned int line, const std::string &function, const std::string &excName) throw () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const throw () |
| Returns information in an output stream. | |
Protected Attributes | |
| std::string | file_ |
| Filename where the exception was thrown from. | |
| unsigned int | line_ |
| Line where the exception was thrown from. | |
| std::string | function_ |
| Name of the function that threw the exception. | |
| std::string | excName_ |
| The name of the exception with calling sequence. | |
Exception indicating that changing the subdivision strategy is not allowed (but was tried anyway).
Definition at line 25 of file strategyChange.hh.
| concepts::StrategyChange::StrategyChange | ( | const Subdivision & | oldStrategy, |
| const Subdivision & | newStrategy, | ||
| const Connector & | conn | ||
| ) | |||
| throw | ( | ||
| ) | |||
Constructor.
| oldStrategy | The current strategy |
| newStrategy | The requested strategy |
| conn | Connector on which the changed should have happened |
|
inline | |||||||||||||
Returns the quad.
Definition at line 40 of file strategyChange.hh.
|
protectedvirtual | ||||||||||||||
Returns information in an output stream.
Reimplemented from concepts::ExceptionBase.
|
inline | |||||||||||||
Returns the new strategy.
Definition at line 38 of file strategyChange.hh.
|
inline | |||||||||||||
Returns the old strategy.
Definition at line 36 of file strategyChange.hh.
|
inherited | ||||||||||||||||||||||||||||
Sets the fields of this exception.
| file | Filename where the exception was thrown from |
| line | Line where the exception was thrown from |
| function | Name of the function that threw the exception |
| excName | The name of the exception |
|
protectedinherited |
The name of the exception with calling sequence.
Definition at line 132 of file exceptions.hh.
|
protectedinherited |
Filename where the exception was thrown from.
Definition at line 123 of file exceptions.hh.
|
protectedinherited |
Name of the function that threw the exception.
Definition at line 129 of file exceptions.hh.
Line where the exception was thrown from.
Definition at line 126 of file exceptions.hh.