00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include <CAlarmServerException.h>
00015
00016 static const char* Copyright =
00017 "CAlarmServerException.cpp: Copyright 2002 NSCL, All rights reserved\n";
00018
00026 const char*
00027 CAlarmServerException::ReasonText() const
00028 {
00029 string reason = "received invalid request ==> ";
00030 reason += m_sRequestString;
00031 return reason.c_str();
00032 }
00033
00041 Int_t
00042 CAlarmServerException::ReasonCode() const
00043 {
00044 return (Int_t)m_nErrno;
00045 }