https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
MooseHandledException Class Reference

Thrown by FEProblemBase::checkExceptionAndStopSolve() once an exception has been communicated to all processes and the solve has been stopped, so that it is not handled a second time. More...

#include <MooseException.h>

Inheritance diagram for MooseHandledException:
[legend]

Public Member Functions

 MooseHandledException (const std::string &message)
 
virtual const char * what () const throw ()
 Get out the error message.
 

Protected Attributes

std::string _message
 

Detailed Description

Thrown by FEProblemBase::checkExceptionAndStopSolve() once an exception has been communicated to all processes and the solve has been stopped, so that it is not handled a second time.

Definition at line 70 of file MooseException.h.

Constructor & Destructor Documentation

◆ MooseHandledException()

MooseHandledException::MooseHandledException ( const std::string &  message)
inline

Definition at line 73 of file MooseException.h.

73: MooseException(message) {}
Provides a way for users to bail out of the current solve.

Member Function Documentation

◆ what()

virtual const char * MooseException::what ( ) const
throw (
)
inlinevirtualinherited

Member Data Documentation

◆ _message

std::string MooseException::_message
protectedinherited

Definition at line 63 of file MooseException.h.

Referenced by MooseException::MooseException(), and MooseException::what().


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