CLHEP 2.0.4.7 Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

testExceptions.cc File Reference

#include <sstream>
#include <string>
#include "CLHEP/Exceptions/defs.h"
#include "CLHEP/Cast/itos.h"
#include "CLHEP/Exceptions/ZMthrow.h"
#include "CLHEP/Exceptions/ZMexception.h"
#include "CLHEP/Exceptions/ZMerrno.h"

Go to the source code of this file.

Functions

 ZMexStandardDefinition (ZMexception, ZMxTest)
 ZMexStandardDefinition (ZMxTest, ZMxInfo)
 ZMexStandardDefinition (ZMxTest, ZMxGoof)
 ZMexStandardDefinition (ZMxGoof, ZMxOops)
 ZMexStandardDefinition (ZMxGoof, ZMxBooBoo)
void display (const ZMexception *ex)
int main ()

Variables

const string QUOTE = "\""
const string NEWLINE1 = "\n"
const string NEWLINE2 = "\n\n"


Function Documentation

void display ( const ZMexception ex  ) 

Definition at line 83 of file testExceptions.cc.

References zmex::ZMexLogger::emit(), zmex::ZMexception::handlerUsed(), zmex::ZMexception::message(), zmex::ZMexception::name(), zmex::ZMexception::wasThrown(), and zmex::ZMlogger().

Referenced by main().

int main (  ) 

Definition at line 94 of file testExceptions.cc.

References display(), zmex::ZMexLogger::emit(), zmex::ZMerrnoList::get(), itos(), zmex::ZMexception::name(), zmex::ZMerrnoList::setMax(), zmex::ZMerrnoList::size(), zmex::ZMerrno, zmex::ZMlogger(), and ZMthrow.

ZMexStandardDefinition ( ZMxGoof  ,
ZMxBooBoo   
)

ZMexStandardDefinition ( ZMxGoof  ,
ZMxOops   
)

ZMexStandardDefinition ( ZMxTest  ,
ZMxGoof   
)

ZMexStandardDefinition ( ZMxTest  ,
ZMxInfo   
)

ZMexStandardDefinition ( ZMexception  ,
ZMxTest   
)


Variable Documentation

const string NEWLINE1 = "\n"

Definition at line 80 of file testExceptions.cc.

Referenced by display(), and main().

const string NEWLINE2 = "\n\n"

Definition at line 81 of file testExceptions.cc.

const string QUOTE = "\""

Definition at line 79 of file testExceptions.cc.

Referenced by display().


Generated on Thu Jul 1 22:02:31 2010 for CLHEP by  doxygen 1.4.7