![]() |
![]() |
00001 #include "DetectorDescription/Base/interface/DDException.h" 00002 00003 // "regular" constructor 00004 DDException::DDException(const std::string & s) 00005 : cms::Exception("DetectorDescriptionFault", s) 00006 { } 00007 00008 // default 00009 DDException::DDException() 00010 : cms::Exception("DetectorDescriptionFault") 00011 { } 00012 00013 // copy constructor 00014 DDException::DDException(const DDException& e) 00015 : cms::Exception(e) 00016 { } 00017 00018 void 00019 DDException::swap(DDException& other) throw() 00020 { 00021 cms::Exception::swap(other); 00022 } 00023 00024 DDException& 00025 DDException::operator=(DDException const& other) 00026 { 00027 DDException temp(other); 00028 this->swap(temp); 00029 return *this; 00030 } 00031 00032 DDException::~DDException() throw() 00033 { } 00034