Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102691205
Error.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 23, 06:40
Size
572 B
Mime Type
text/x-c++
Expires
Tue, Feb 25, 06:40 (2 d)
Engine
blob
Format
Raw Data
Handle
24397942
Attached To
R1695 PCSC - Numerical Integration - Ollitrault Rouaze
Error.hpp
View Options
//
// Created by Pauline Ollitrault on 12.12.16.
//
#ifndef NUMINT_ERROR_HPP
#define NUMINT_ERROR_HPP
#include <string>
#include <exception>
using
namespace
std
;
class
Error
:
public
exception
{
/**
* @class Error
* @brief Methods for throwing errors through the program.
*/
public
:
/** Constructor */
Error
(
std
::
string
const
phrase
)
throw
();
/** Method */
const
char
*
what
()
const
throw
();
/** Destructor */
~
Error
()
throw
();
private
:
string
m_phrase
;
/** String containing the error description */
};
#endif
//NUMINT_ERROR_HPP
Event Timeline
Log In to Comment