YASK
Yet Another Stencil Kit: a software framework for creating HPC stencil code. Copyright 2014-2023 Intel Corporation.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yask::yask_exception Class Reference

Exception from YASK framework. More...

#include <yask_common_api.hpp>

+ Inheritance diagram for yask::yask_exception:

Public Member Functions

 yask_exception ()
 Construct a YASK exception with default message.
 
 yask_exception (const std::string &message)
 Construct a YASK exception with message.
 
virtual const char * what () const noexcept
 Get description.
 
virtual void add_message (const std::string &message)
 Append message to description of this exception.
 
virtual const char * get_message () const
 Get description.
 

Detailed Description

Exception from YASK framework.

Objects of this exception contain additional message from yask framework

Member Function Documentation

◆ what()

virtual const char * yask::yask_exception::what ( ) const
virtualnoexcept

Get description.

Returns a C-style character string describing the cause of the current error.

Returns
description of the exception.

◆ add_message()

virtual void yask::yask_exception::add_message ( const std::string &  message)
virtual

Append message to description of this exception.

Parameters
[in]messageAdditional message as string.

◆ get_message()

virtual const char * yask::yask_exception::get_message ( ) const
virtual

Get description.

Same as what().

Returns
description of the exception.

The documentation for this class was generated from the following file: