99 std::ostream&
operator<<(std::ostream& anOutputStream,
100 const Exception& anException);
128 const char* aFunctionName = 0,
130 const char* anErrorMessage = 0);
145 const char* aFunctionName,
147 const std::string& anErrorMessage);
162 virtual const char*
what()
const throw();
179 #endif // __Exception_h std::string m_error_message
The error message.
Exception(const char *aFileName=0, const char *aFunctionName=0, int anErrorLine=0, const char *anErrorMessage=0)
Default constructor.
Exception is a class to handle exceptions.
std::ostream & operator<<(std::ostream &anOutputSream, const gVirtualXRay::AtomicElement &anElement)
operator <<
virtual const char * what() const
Accessor on the error message.
Generic class to handle exceptions.
virtual ~Exception()
Destructor.