37 #ifndef INCLUDED_OSCPACK_OSCEXCEPTION_H
38 #define INCLUDED_OSCPACK_OSCEXCEPTION_H
44 class Exception :
public std::exception {
48 Exception() throw() {}
49 Exception(
const Exception& src )
throw()
50 : std::exception( src )
51 , what_( src.what_ ) {}
52 Exception(
const char *w )
throw()
54 Exception& operator=(
const Exception& src )
throw()
55 { what_ = src.what_;
return *
this; }
56 virtual ~Exception() throw() {}
57 virtual const char* what()
const throw() {
return what_; }