diff --git a/Calorimeter/CaloIdentifier/CaloIdentifier/CaloID_Exception.h b/Calorimeter/CaloIdentifier/CaloIdentifier/CaloID_Exception.h index ed200e482754b35bb733afa6911e0f80cdb40efb..05e870582cb00bf575fedf600f753ad799287e2c 100755 --- a/Calorimeter/CaloIdentifier/CaloIdentifier/CaloID_Exception.h +++ b/Calorimeter/CaloIdentifier/CaloIdentifier/CaloID_Exception.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ /* date of creation : 10/X/2002 */ @@ -38,7 +38,7 @@ public: /** * return error message <br> */ - virtual std::string message() const ; + std::string message() const ; /** * set error code number<br> @@ -56,14 +56,10 @@ public: * 4 : LArDM::zone_id Error <br> * 999 : undefined error <br> */ - virtual int code() const ; + int code() const ; - virtual operator std::string(); + operator std::string(); - /** - * destructor - */ - virtual ~CaloID_Exception() ; private: diff --git a/Calorimeter/CaloIdentifier/CaloIdentifier/LArID_Exception.h b/Calorimeter/CaloIdentifier/CaloIdentifier/LArID_Exception.h index 1c1864cbbc21d12bc38c89d68b3d4d5f0a94609c..c6e63c9d95cbeae9d57089095e53bc7ea754d9b5 100755 --- a/Calorimeter/CaloIdentifier/CaloIdentifier/LArID_Exception.h +++ b/Calorimeter/CaloIdentifier/CaloIdentifier/LArID_Exception.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ /* Generated by Together */ @@ -38,7 +38,7 @@ public: /** * return error message <br> */ - virtual std::string message() const { return m_message;} + std::string message() const { return m_message;} /** * set error code number<br> @@ -58,14 +58,10 @@ public: *10 : LArFCAL::channel_id Error <br> * 999 : undefined error <br> */ - virtual int code() const { return m_code;} + int code() const { return m_code;} - virtual operator std::string() const; + operator std::string() const; - /** - * destructor - */ - virtual ~LArID_Exception() {} private: diff --git a/Calorimeter/CaloIdentifier/CaloIdentifier/TileID_Exception.h b/Calorimeter/CaloIdentifier/CaloIdentifier/TileID_Exception.h index d7c6371dd5a89c0f407ac10de74ba49611aa9746..84489df4a6c0774fa830a0b06a706edf27d049c6 100755 --- a/Calorimeter/CaloIdentifier/CaloIdentifier/TileID_Exception.h +++ b/Calorimeter/CaloIdentifier/CaloIdentifier/TileID_Exception.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #ifndef TILEID_EXCEPTION_H @@ -34,7 +34,7 @@ public: /** * return error message */ - virtual std::string message() const { return m_message;} + std::string message() const { return m_message;} /** * set error code number @@ -56,14 +56,10 @@ public: *19 : no IDCompactor available ( null pointer ) * 999 : undefined error */ - virtual int code() const { return m_code;} + int code() const { return m_code;} - virtual operator std::string(); + operator std::string(); - /** - * destructor - */ - virtual ~TileID_Exception() {} private: diff --git a/Calorimeter/CaloIdentifier/src/CaloID_Exception.cxx b/Calorimeter/CaloIdentifier/src/CaloID_Exception.cxx index f485e21f222004ccc801ec8255d715cfef5fabeb..7c9d8d90cff4ad4d8437921729bb8f6e799f7634 100755 --- a/Calorimeter/CaloIdentifier/src/CaloID_Exception.cxx +++ b/Calorimeter/CaloIdentifier/src/CaloID_Exception.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #include "CaloIdentifier/CaloID_Exception.h" @@ -36,4 +36,3 @@ CaloID_Exception::operator std::string () this->message(); } -CaloID_Exception:: ~CaloID_Exception() {}