//-----------------------------------------------------------------------------
// gdcmException
+
+/*
+ * \ingroup gdcmException
+ * \brief
+ * @param
+ */
gdcmException::gdcmException(const std::string &f, const std::string& msg) throw()
#ifdef __GNUC__
try
#endif
-void gdcmException::fatal(const char *from) throw() {
+/*
+ * \ingroup gdcmException
+ * \brief
+ * @param
+ */
+ void gdcmException::fatal(const char *from) throw() {
try {
std::cerr << "Fatal: exception received in " << from
<< " while handling exception." << std::endl;
}
}
-std::string gdcmException::getName() const throw() {
+/*
+ * \ingroup gdcmException
+ * \brief
+ * @param
+ */
+ std::string gdcmException::getName() const throw() {
try {
#ifdef __GNUC__ // GNU C++ compiler class name demangling
unsigned int nested = 1, i, nb, offset;
}
}
-gdcmException::operator const char *() const throw() {
+/*
+ * \ingroup gdcmException
+ * \brief
+ * @param
+ */
+ gdcmException::operator const char *() const throw() {
return getName().c_str();
}
//-----------------------------------------------------------------------------
-std::ostream& operator<<(std::ostream &os, const gdcmException &e) {
+/*
+ * \ingroup gdcmException
+ * \brief
+ * @param
+ */
+ std::ostream& operator<<(std::ostream &os, const gdcmException &e) {
try {
os << "Exception " << e.getName() << " thrown: " << e.getError() << std::endl;
}