Exception (const std::string &msg = defaulttext) : arg (msg) {} \
virtual ~Exception () DEAL_II_NOEXCEPT {} \
virtual void print_info (std::ostream &out) const { \
- out << arg << std::endl; \
+ out << " " << arg << std::endl; \
} \
private: \
const std::string arg; \
Exception1 (const type1 a1) : arg1 (a1) {} \
virtual ~Exception1 () DEAL_II_NOEXCEPT {} \
virtual void print_info (std::ostream &out) const { \
- out outsequence << std::endl; \
+ out << " " outsequence << std::endl; \
} \
private: \
const type1 arg1; \
arg1 (a1), arg2(a2) {} \
virtual ~Exception2 () DEAL_II_NOEXCEPT {} \
virtual void print_info (std::ostream &out) const { \
- out outsequence << std::endl; \
+ out << " " outsequence << std::endl; \
} \
private: \
const type1 arg1; \
arg1 (a1), arg2(a2), arg3(a3) {} \
virtual ~Exception3 () DEAL_II_NOEXCEPT {} \
virtual void print_info (std::ostream &out) const { \
- out outsequence << std::endl; \
+ out << " " outsequence << std::endl; \
} \
private: \
const type1 arg1; \
arg1 (a1), arg2(a2), arg3(a3), arg4(a4) {} \
virtual ~Exception4 () DEAL_II_NOEXCEPT {} \
virtual void print_info (std::ostream &out) const { \
- out outsequence << std::endl; \
+ out << " " outsequence << std::endl; \
} \
private: \
const type1 arg1; \
arg1 (a1), arg2(a2), arg3(a3), arg4(a4), arg5(a5) {} \
virtual ~Exception5 () DEAL_II_NOEXCEPT {} \
virtual void print_info (std::ostream &out) const { \
- out outsequence << std::endl; \
+ out << " " outsequence << std::endl; \
} \
private: \
const type1 arg1; \
<< " " << exc << std::endl;
// finally print the additional information the exception provides:
- out << "Additional Information: " << std::endl;
+ out << "Additional information: " << std::endl;
}
void ExceptionBase::print_info (std::ostream &out) const
{
- out << "(none)" << std::endl;
+ out << " (none)" << std::endl;
}