reformatted for allowing a breakpoint in the exception
This commit is contained in:
parent
fafe0f0293
commit
c0d0599781
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue