Professional Documents
Culture Documents
Reptile David
Reptile David
#define TEMA3POOV2_EXCEPTIE_H
#include <exception>
using namespace std;
}
virtual ~Exceptie() noexcept = default;
Exceptie (const Exceptie&) noexcept = default;
Exceptie& operator = (const Exceptie&) noexcept = default;
virtual const char* what() const noexcept
{
return "Animalul nu traieste!!! :(((";
}
};
#endif