ReFRACtor
FullPhysics::Exception Class Reference

This is the base of the exception hierarchy for Full Physics code. More...

#include <fp_exception.h>

+ Inheritance diagram for FullPhysics::Exception:
+ Collaboration diagram for FullPhysics::Exception:

Public Member Functions

 Exception (const std::string &W="")
 Default constructor. More...
 
 Exception (const Exception &E)
 Copy constructor. More...
 
virtual ~Exception () throw ()
 Destructor. More...
 
template<class T >
Exceptionoperator<< (const T &V)
 Write to exception what() string. More...
 
virtual void print (std::ostream &Os) const
 Print out description of object. More...
 
std::string print_to_string () const
 Print to string. More...
 
void * return_address (unsigned frame_no) const
 
size_t stack_size () const
 
std::string trace () const
 
void trace (std::ostream &out) const
 
void trace_line (unsigned frame_no, std::ostream &out) const
 
std::string trace_line (unsigned frame_no) const
 
virtual const char * what () const throw ()
 Description of what the error is. More...
 

Static Public Attributes

static size_t const default_stack_size = 32
 

Detailed Description

This is the base of the exception hierarchy for Full Physics code.

This can be written to like a stream to contain information about the exception. This is derived from the standard library std::exception

Definition at line 16 of file fp_exception.h.

Member Function Documentation

◆ print_to_string()

std::string FullPhysics::Printable< Exception >::print_to_string ( ) const
inlineinherited

Print to string.

This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.

Definition at line 31 of file printable.h.

◆ return_address()

void* boost::backtrace::return_address ( unsigned  frame_no) const
inlineinherited

Definition at line 50 of file backtrace.hpp.

◆ stack_size()

size_t boost::backtrace::stack_size ( ) const
inlineinherited

Definition at line 45 of file backtrace.hpp.

◆ trace() [1/2]

std::string boost::backtrace::trace ( ) const
inlineinherited

Definition at line 70 of file backtrace.hpp.

◆ trace() [2/2]

void boost::backtrace::trace ( std::ostream &  out) const
inlineinherited

Definition at line 77 of file backtrace.hpp.

◆ trace_line() [1/2]

void boost::backtrace::trace_line ( unsigned  frame_no,
std::ostream &  out 
) const
inlineinherited

Definition at line 57 of file backtrace.hpp.

◆ trace_line() [2/2]

std::string boost::backtrace::trace_line ( unsigned  frame_no) const
inlineinherited

Definition at line 63 of file backtrace.hpp.

Member Data Documentation

◆ default_stack_size

size_t const boost::backtrace::default_stack_size = 32
staticinherited

Definition at line 30 of file backtrace.hpp.


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

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:12