00001 // $Id: SolidException.h,v 1.5 2003/04/25 08:52:23 sponce Exp $ 00002 #ifndef __DETDESC_SOLID_SOLIDEXCEPTION_H__ 00003 #define __DETDESC_SOLID_SOLIDEXCEPTION_H__ 00005 #include "GaudiKernel/GaudiException.h" 00007 class ISolid; 00009 00010 class SolidException : public GaudiException 00011 { 00013 public: 00015 SolidException( const std::string& message , 00016 const ISolid* solid = 0 ); 00018 SolidException( const std::string & message , 00019 const GaudiException& Exception , 00020 const ISolid* solid = 0 ); 00022 virtual ~SolidException() throw(); 00024 virtual std::ostream& printOut( std::ostream& os = std::cerr ) const ; 00025 virtual MsgStream& printOut( MsgStream& os ) const ; 00026 virtual GaudiException* clone () const ; 00028 private: 00030 const ISolid* m_se_solid ; // the "author" of the exception 00032 }; 00033 00034 00035 #endif // __DETDESC_SOLID_SOLIDEXCEPTION_H__ 00036