Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CAlarmServerException.cpp

00001 // Author:
00002 //   Jason Venema
00003 //   NSCL
00004 //   Michigan State University
00005 //   East Lansing, MI 48824-1321
00006 //   mailto:venemaja@msu.edu
00007 //
00008 // Copyright
00009 //   NSCL All rights reserved.
00010 //
00011 // See CAlarmServerException.h for a description of this class.
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 }

Generated at Tue May 21 12:10:50 2002 for CAlarmLogger by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001