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 CGDBMException.h for a description of this class.
00012 //
00013
00014 #include <CGDBMException.h>
00015 #include <gdbm.h>
00016
00017 static const char* Copyright =
00018 "CGDBMException.cpp: Copyright 2002 NSCL, All rights reserved\n";
00019
00027 const char*
00028 CGDBMException::ReasonText() const
00029 {
00030 return gdbm_strerror(m_nError);
00031 }
00032
00040 Int_t
00041 CGDBMException::ReasonCode() const
00042 {
00043 return (Int_t)m_nError;
00044 }
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001