1 #ifndef Utilities_CMSexception_H
2 #define Utilities_CMSexception_H
18 virtual const char*
what()
const throw() = 0;
28 virtual const char*
what()
const throw() {
return 0;}
31 virtual void rethrow (
void) {
throw *
this;}
46 virtual void rethrow (
void) {
throw *
this;}
68 void dump(std::ostream &
o,
bool it=
false)
const throw();
70 virtual void rethrow (
void) {
throw *
this;}
85 Error(
const std::string &
level,
const std::string & mess)
throw();
91 explicit Warning(
const std::string & mess)
throw() :
Error(
"Warning",mess){}
96 explicit Severe(
const std::string & mess)
throw() :
Error(
"Severe",mess){}
101 explicit Fatal(
const std::string & mess)
throw() :
Error(
"Fatal",mess){}
virtual cms::Exception * clone(void) const
virtual void rethrow(void)
virtual const char * what() const =0
const std::string & trace() const
std::string message() const
void dump(std::ostream &o, bool it=false) const
Fatal(const std::string &mess)
virtual cms::Exception * clone(void) const
virtual cms::Exception * clone(void) const
virtual std::string explainSelf(void) const
virtual const char * what() const
Warning(const std::string &mess)
virtual ~BaseGenexception()
virtual const char * what() const
void add(Genexception *in)
virtual void rethrow(void)
Severe(const std::string &mess)
own_ptr< Genexception > next
virtual void rethrow(void)
virtual std::string explainSelf(void) const