00001 // $Id: LogVolumeException.h,v 1.3 2003/01/17 14:03:38 sponce Exp $ 00002 // ============================================================================ 00003 // CVS tag $Name: 00004 // ============================================================================ 00005 // $Log: LogVolumeException.h,v $ 00006 // Revision 1.3 2003/01/17 14:03:38 sponce 00007 // support for gcc 3.2 00008 // 00009 // Revision 1.2 2001/11/18 15:48:50 ibelyaev 00010 // bug fix for Win2k 00011 // 00012 // Revision 1.1 2001/11/18 15:32:44 ibelyaev 00013 // update for Logical Assemblies 00014 // 00015 // ============================================================================ 00016 #ifndef DETDESC_LOGVOLUMEEXCEPTION_H 00017 #define DETDESC_LOGVOLUMEEXCEPTION_H 1 00018 // Include files 00019 #include "GaudiKernel/GaudiException.h" 00020 // forward declarations 00021 class ILVolume ; 00022 00032 class LogVolumeException : 00033 public GaudiException 00034 { 00035 00036 public: 00037 00043 LogVolumeException 00044 ( const std::string& name , 00045 const ILVolume* logvol = 0 , 00046 const StatusCode& sc = StatusCode::FAILURE ); 00047 00054 LogVolumeException 00055 ( const std::string& name , 00056 const GaudiException& excp , 00057 const ILVolume* logvol = 0 , 00058 const StatusCode& sc = StatusCode::FAILURE ); 00059 00062 virtual ~LogVolumeException() throw(); 00063 00068 virtual std::ostream& printOut 00069 ( std::ostream& os = std::cerr ) const ; 00070 00075 virtual MsgStream& printOut 00076 ( MsgStream& os ) const ; 00077 00081 virtual GaudiException* clone() const ; 00082 00083 private: 00084 00087 LogVolumeException(); 00088 00089 private: 00090 00091 const ILVolume* m_logvol ; 00092 00093 }; 00094 00095 // ============================================================================ 00096 // The End 00097 // ============================================================================ 00098 #endif // DETDESC_LOGVOLUMEEXCEPTION_H 00099 // ============================================================================