ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::SurfaceMergingException Class Reference

Exception type failures to merge two surfaces. More...

#include <Acts/Surfaces/SurfaceMergingException.hpp>

Inheritance diagram for Acts::SurfaceMergingException:
[legend]
Collaboration diagram for Acts::SurfaceMergingException:
[legend]

Public Member Functions

 SurfaceMergingException (std::weak_ptr< const Surface > surfaceA, std::weak_ptr< const Surface > surfaceB, const std::string &reason)
 Constructor for surface merging exception.
const char * what () const override throw ()
 Get exception description.

Detailed Description

Exception type failures to merge two surfaces.

Constructor & Destructor Documentation

◆ SurfaceMergingException()

Acts::SurfaceMergingException::SurfaceMergingException ( std::weak_ptr< const Surface > surfaceA,
std::weak_ptr< const Surface > surfaceB,
const std::string & reason )

Constructor for surface merging exception.

Parameters
surfaceAFirst surface that failed to merge
surfaceBSecond surface that failed to merge
reasonDescription of why the merge failed

Member Function Documentation

◆ what()

const char * Acts::SurfaceMergingException::what ( ) const
throw ( )
override

Get exception description.

Returns
C-style string describing the exception