|
svMultiPhysics
|
Unsupported or malformed element request. More...
#include <FEException.h>
Public Member Functions | |
| InvalidElementException (const std::string &message, std::string element_type="") | |
| Construct with a message and optional element-type context. | |
| const std::string & | element_type () const noexcept |
| Name of the offending element type. | |
Public Member Functions inherited from svmp::FE::FEException | |
| FEException (const std::string &message, StatusCode status=StatusCode::Unknown) | |
| Construct with a message and optional status code. | |
| StatusCode | status () const noexcept |
| Status code classifying the failure. | |
Public Member Functions inherited from svmp::ExceptionBase | |
| const char * | what () const noexcept override |
| StatusCode | status_code () const noexcept |
| const std::string & | message () const noexcept |
| const ExceptionContext & | context () const noexcept |
| void | add_context (const std::string &context) |
| void | set_source_location (const SourceLocation &location) |
| Record the originating source location and refresh what(). | |
Additional Inherited Members | |
Protected Member Functions inherited from svmp::ExceptionBase | |
| ExceptionBase (std::string message, StatusCode status, std::string_view subsystem_label, const char *file="", int line=0, const char *function="") | |
| void | rebuild_what () |
Protected Attributes inherited from svmp::ExceptionBase | |
| std::string | message_ |
| ExceptionContext | context_ |
| std::string_view | subsystem_label_ |
| std::string | what_ |
Unsupported or malformed element request.
Records the offending element type so error reports can name it.
|
inline |
Construct with a message and optional element-type context.
| message | Human-readable error description. |
| element_type | Name of the offending element type; appended to the message when non-empty. |
|
inlinenoexcept |
Name of the offending element type.