svMultiPhysics
Loading...
Searching...
No Matches
Classes | Typedefs
Exceptions

FE exception hierarchy. More...

Collaboration diagram for Exceptions:

Classes

class  svmp::FE::FEException
 Base exception type for errors originating in the FE library. More...
 
class  svmp::FE::InvalidArgumentException
 An argument failed validation. More...
 
class  svmp::FE::InvalidElementException
 Unsupported or malformed element request. More...
 
class  svmp::FE::DofException
 Degree-of-freedom numbering or lookup failure. More...
 
class  svmp::FE::AssemblyException
 Global assembly failure. More...
 
class  svmp::FE::BackendException
 Failure reported by a linear-algebra or solver backend. More...
 
class  svmp::FE::NotInitializedException
 Required initialization step has not been performed. More...
 
class  svmp::FE::ConvergenceException
 Iterative process failed to converge. More...
 
class  svmp::FE::SingularMappingException
 Element geometric mapping is singular or inverted. More...
 

Typedefs

using svmp::FE::NotImplementedException = svmp::NotImplementedException
 Requested feature is not implemented.
 

Detailed Description

FE exception hierarchy.

All FE-specific exceptions derive from FEException, which itself derives from the shared solver ExceptionBase. Specialized subclasses carry structured context (element type, DOF index, backend name and error code, iteration counts, Jacobian determinants) so call sites can report actionable diagnostics.

Throw FE exceptions through the canonical core helpers in Core/Exception.h:

svmp::raise<ExceptionT>(message);
svmp::throw_if<ExceptionT>(failure_condition, message);
svmp::check<ExceptionT>(valid_condition, message);
svmp::check_not_null<ExceptionT>(ptr, message);
svmp::check_index<ExceptionT>(index, size);
svmp::not_implemented(message);

check() raises when its (success) condition is false; throw_if() raises when its (failure) condition is true. FE owns exception types; helper spelling is owned by the core layer.

Typedef Documentation

◆ NotImplementedException

Requested feature is not implemented.

Alias for svmp::NotImplementedException (Core/Exception.h), the single not-implemented type used across the solver and the default raised by svmp::not_implemented(). Kept in the FE namespace for source compatibility; it derives from CoreException, not FEException.