PyNE C++
Public Member Functions | List of all members
pyne::nucname::NotANuclide Class Reference

#include <nucname.h>

Inheritance diagram for pyne::nucname::NotANuclide:

Public Member Functions

 NotANuclide ()
 default constructor
 
 ~NotANuclide () throw ()
 default destructor
 
 NotANuclide (std::string wasptr, std::string nowptr)
 
 NotANuclide (std::string wasptr, int nowptr)
 
 NotANuclide (int wasptr, std::string nowptr)
 
 NotANuclide (int wasptr, int nowptr)
 
virtual const char * what () const throw ()
 

Detailed Description

Custom expection for declaring that a value does not follow a recognizable nuclide naming convention.

Constructor & Destructor Documentation

◆ NotANuclide() [1/4]

pyne::nucname::NotANuclide::NotANuclide ( std::string  wasptr,
std::string  nowptr 
)
inline

Constructor given previous and current state of nulide name

Parameters
wasptrPrevious state, typically user input.
nowptrCurrent state, as far as PyNE could get.

◆ NotANuclide() [2/4]

pyne::nucname::NotANuclide::NotANuclide ( std::string  wasptr,
int  nowptr 
)
inline

Constructor given previous and current state of nulide name

Parameters
wasptrPrevious state, typically user input.
nowptrCurrent state, as far as PyNE could get.

◆ NotANuclide() [3/4]

pyne::nucname::NotANuclide::NotANuclide ( int  wasptr,
std::string  nowptr 
)
inline

Constructor given previous and current state of nulide name

Parameters
wasptrPrevious state, typically user input.
nowptrCurrent state, as far as PyNE could get.

◆ NotANuclide() [4/4]

pyne::nucname::NotANuclide::NotANuclide ( int  wasptr,
int  nowptr 
)
inline

Constructor given previous and current state of nulide name

Parameters
wasptrPrevious state, typically user input.
nowptrCurrent state, as far as PyNE could get.

Member Function Documentation

◆ what()

virtual const char* pyne::nucname::NotANuclide::what ( ) const
throw (
)
inlinevirtual

Generates an informational message for the exception

Returns
The error string

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