CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
CLHEP_vector_exception Class Referenceabstract

#include <ZMxpv.h>

+ Inheritance diagram for CLHEP_vector_exception:

Public Member Functions

 CLHEP_vector_exception (const std::string &s1) throw ()
 
virtual const char * what () const throw ()
 
virtual const char * name () const =0 throw ()
 
virtual ~CLHEP_vector_exception () throw ()
 

Detailed Description

Definition at line 138 of file ZMxpv.h.

Constructor & Destructor Documentation

◆ CLHEP_vector_exception()

CLHEP_vector_exception::CLHEP_vector_exception ( const std::string &  s1)
throw (
)

Definition at line 28 of file ZMxpv.cc.

29: message(s1) {}

◆ ~CLHEP_vector_exception()

virtual CLHEP_vector_exception::~CLHEP_vector_exception ( )
throw (
)
inlinevirtual

Definition at line 143 of file ZMxpv.h.

143{}

Member Function Documentation

◆ name()

virtual const char * CLHEP_vector_exception::name ( ) const
throw (
)
pure virtual

Referenced by what().

◆ what()

const char * CLHEP_vector_exception::what ( ) const
throw (
)
virtual

Definition at line 32 of file ZMxpv.cc.

32 {
33 static std::string answer;
34 answer = name();
35 answer += ": ";
36 answer += message;
37 return answer.c_str();
38}
virtual const char * name() const =0

The documentation for this class was generated from the following files: