PyNE C++
Public Member Functions | List of all members
pyne::particle::NotAParticle Class Reference

Custom excpeption for failed particle types. More...

#include <particle.h>

Inheritance diagram for pyne::particle::NotAParticle:

Public Member Functions

 NotAParticle ()
 Default constructor.
 
 ~NotAParticle () throw ()
 Default destructor.
 
 NotAParticle (std::string particle_name)
 
virtual const char * what () const throw ()
 raises error message
 

Detailed Description

Custom excpeption for failed particle types.

Constructor & Destructor Documentation

◆ NotAParticle()

pyne::particle::NotAParticle::NotAParticle ( std::string  particle_name)
inline

Constructor for raising the exception Spits out the particle name as input


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