Class Exception

Inheritance Relationships

Base Type

  • public exception

Derived Type

Class Documentation

class Jet::Exception : public exception

Exception is the general exception thrown by Jet for runtime errors.

Subclassed by Jet::TensorFileException

Public Functions

inline explicit Exception(const std::string &err_msg) noexcept

Constructs a new Exception exception.

Parameters

err_msg – Error message explaining the exception condition.

virtual ~Exception() = default

Destroys the Exception object.

inline const char *what() const noexcept

Returns a string containing the exception message. Overrides the std::exception method.

Returns

Exception message.