Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121202260
FileParserException.h
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
Wed, Jul 9, 07:17
Size
736 B
Mime Type
text/x-c++
Expires
Fri, Jul 11, 07:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27288512
Attached To
R8929 Conjugate Gradient Solver
FileParserException.h
View Options
/**
* @file FileParserException.h
* @author Sergio Hernandez
* This file is part of the Conjugate Gradient Project
*
* Specifies an exception> Configutation file is not well parsed.
*
*/
#ifndef PROJECT_FILEPARSEREXCEPTION_H
#define PROJECT_FILEPARSEREXCEPTION_H
#include <string>
#include <stdexcept>
class
FileParserException
:
public
std
::
runtime_error
{
public:
FileParserException
()
:
std
::
runtime_error
(
"FILE PARSER ERROR: The parsing of the file failed.
\n
Please verify the file is well formatted."
)
{
}
virtual
const
char
*
what
()
const
throw
()
{
return
"FILE PARSER ERROR: The parsing of the file failed.
\n
Please verify the file is well formatted."
;
}
};
#endif
//PROJECT_FILEPARSEREXCEPTION_H
Event Timeline
Log In to Comment