HermesCommon  3.0
exceptions.h File Reference

File containing definition of exceptions classes. More...

#include "common.h"
#include "util/compat.h"

Go to the source code of this file.

Classes

class  Hermes::Exceptions::Exception
 Exception interface Basically a std::exception, but with a constructor with string and with print_msg method. Usage: try {  ...  throw Hermes::Exceptions::Exception("this is an exception message"); } catch(Hermes::Exceptions::Exception& e) {  e.print_msg(); }. More...
 
class  Hermes::Exceptions::IOException
 IO exception. Internal. Exception occurs when something fails to be written to / read from the disk. More...
 
class  Hermes::Exceptions::NullException
 Null parameter exception. Internal. Exception occurs when some parameter is Null or empty and it shouldn't be. More...
 
class  Hermes::Exceptions::LengthException
 Parameter length parameter exception. Internal. Exception occurs when some parameter has wrong length. More...
 
class  Hermes::Exceptions::LinearMatrixSolverException
 Linear solver failed. More...
 
class  Hermes::Exceptions::ValueException
 Numeric value is out of allowed range. More...
 
class  Hermes::Exceptions::MethodNotOverridenException
 Method is not overriden and should be. More...
 
class  Hermes::Exceptions::MethodNotImplementedException
 Method is not overriden and should be. More...
 
class  Hermes::Exceptions::MeshLoadFailureException
 Mesh failed to load. Thrown by Hermes2D::MeshReaderH2DXML, MeshReaderH2D. More...
 
class  Hermes::Exceptions::SpaceLoadFailureException
 Space failed to load. More...
 
class  Hermes::Exceptions::SolutionSaveFailureException
 Solution failed to save. More...
 
class  Hermes::Exceptions::SolutionLoadFailureException
 Solution failed to load. More...
 

Namespaces

 Hermes
 General namespace for the Hermes library.
 

Macros

#define assert(x)
 

Detailed Description

File containing definition of exceptions classes.

Definition in file exceptions.h.