SysTutorials

Linux Manual Pages › Section 3

stdbad_exceptionbad_exception(3)

std::bad_exception::bad_exception - std::bad_exception::bad_exception

Synopsis

bad_exception() noexcept;
bad_exception(const bad_exception &other) noexcept;

Constructs new bad_exception object.

  1. Default constructor.
  2. Copy constructor. Initializes the object with the contents of other.

Parameters

other - bad_exception object to initialize with