SCError.h

Go to the documentation of this file.
00001 
00008 // Revision $Revision: 134 $
00009 #pragma once
00010 
00012 
00015 class SCError :
00016         public std::runtime_error
00017 {
00018         std::string desc;
00019 public:
00020         const long error; //SC Api returns longs
00021         SCError(long err);
00022         virtual ~SCError() throw() {}
00023         virtual const char * what() const throw() {     return desc.c_str();} 
00024         static void check(long err);
00025 };

Generated on Fri Oct 31 12:29:36 2008 for Cardlib reference by  doxygen 1.5.1