CMS 3D CMS Logo

Public Member Functions

DDException Class Reference

An exception for DDD errors. More...

#include <DDException.h>

Inheritance diagram for DDException:
cms::Exception

List of all members.

Public Member Functions

 DDException (const std::string &s)
 constructor takes simply an error message via a std::string
 DDException ()
 DDException (const DDException &dde)
DDExceptionoperator= (DDException const &other)
void swap (DDException &other) throw ()
virtual ~DDException () throw ()

Detailed Description

An exception for DDD errors.

Author:
: Martin Liendl Initial Version
Version:
: 0.0
Date:
:

Description:

Provides an exception for DDD errors.

Modifications: MEC: 8 June 2005 Michael Case: changed to inherit from seal::Error MEC: 25 April 2007 Michael Case: changed to inherit from cms:Exception

Definition at line 22 of file DDException.h.


Constructor & Destructor Documentation

DDException::DDException ( const std::string &  s) [explicit]

constructor takes simply an error message via a std::string

Definition at line 4 of file DDException.cc.

  : cms::Exception("DetectorDescriptionFault", s)
{ }
DDException::DDException ( )

Definition at line 9 of file DDException.cc.

  : cms::Exception("DetectorDescriptionFault")
{ }
DDException::DDException ( const DDException dde)

Definition at line 14 of file DDException.cc.

  : cms::Exception(e)
{ }
DDException::~DDException ( ) throw () [virtual]

Definition at line 32 of file DDException.cc.

{ }

Member Function Documentation

DDException & DDException::operator= ( DDException const &  other)

Definition at line 25 of file DDException.cc.

References swap(), and groupFilesInBlocks::temp.

{
  DDException temp(other);
  this->swap(temp);
  return *this;
}
void DDException::swap ( DDException other) throw ()

Definition at line 19 of file DDException.cc.

References cms::Exception::swap().

Referenced by operator=().