00001 // $Id: GeometryInfoException.h,v 1.3 2006/04/20 14:39:56 ranjard Exp $ 00002 #ifndef DETDESC_GEOMETRYINFOEXCEPTION_H 00003 #define DETDESC_GEOMETRYINFOEXCEPTION_H 1 00005 #include "GaudiKernel/GaudiException.h" 00007 class MsgStream; 00008 class IGeometryInfo; 00010 00024 class GeometryInfoException : public GaudiException 00025 { 00026 public: 00028 GeometryInfoException( const std::string & name , 00029 const IGeometryInfo * gi = 0 , 00030 const StatusCode & sc = StatusCode::FAILURE ); 00032 GeometryInfoException( const std::string & name , 00033 const GaudiException & ge , 00034 const IGeometryInfo * gi = 0 , 00035 const StatusCode & sc = StatusCode::FAILURE ) ; 00037 virtual ~GeometryInfoException() throw(); 00039 virtual std::ostream& printOut( std::ostream& os = std::cerr ) const ; 00040 virtual MsgStream& printOut( MsgStream& os ) const ; 00042 virtual GaudiException* clone() const; 00044 private: 00046 const IGeometryInfo* m_gie_geometryInfo ; 00048 }; 00050 00051 #endif // DETDESC_GEOMETRYINFOEXCEPTION_H 00052