reformatted for allowing a breakpoint in the exception

This commit is contained in:
Paolo Cignoni 2012-12-10 09:10:19 +00:00
parent fafe0f0293
commit c0d0599781
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@ namespace vcg
class MissingComponentException : public std::runtime_error
{
public:
MissingComponentException(const std::string &err):std::runtime_error(err) { std::cout << "Missing Component Exception -" << err << "- \n";}
MissingComponentException(const std::string &err):std::runtime_error(err)
{
std::cout << "Missing Component Exception -" << err << "- \n";
}
virtual const char *what() const throw ()
{
static char buf[128]="Missing Component";