ATLAS Offline Software
Loading...
Searching...
No Matches
TileID_Exception.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <iostream>
8#include <sstream>
9#include <iomanip>
10
11TileID_Exception::operator std::string () const
12
13{
14 std::ostringstream text;
15
16 text << "TileID_Exception - Error code: " << this->code() << std::endl;
17 text << this->message() ;
18 return text.str();
19}
void code(int l_code)
set error code number
void message(const std::string &l_message)
set error message