ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
ErrorInput Class Reference

#include <Errors.h>

Inherits ErrorECOGEN.

Inherited by ErrorMeshNS, and ErrorXML.

Public Member Functions

 ErrorInput (std::string fileInput="", const char *sourceFile="", int lineNumber=-1, int errorCode=2)
 
virtual ~ErrorInput () throw ()
 
virtual const char * what (void) const throw ()
 
std::string infoError (void) const throw ()
 
virtual std::string additionalInfo (void) const throw ()
 
int lineNumber () const throw ()
 
std::string fileName () const throw ()
 
int getErrorCode ()
 
- Public Member Functions inherited from ErrorECOGEN
 ErrorECOGEN (std::string infoError="", const char *sourceFile="", int lineNumber=-1, int errorCode=1)
 
virtual ~ErrorECOGEN () throw ()
 
std::string infoError (void) const throw ()
 
int getErrorCode ()
 

Protected Attributes

int m_errorCode
 
int m_lineNumber
 
std::string m_sourceFile
 
std::string m_fileInput
 

Constructor & Destructor Documentation

◆ ErrorInput()

ErrorInput::ErrorInput ( std::string  fileInput = "",
const char *  sourceFile = "",
int  lineNumber = -1,
int  errorCode = 2 
)
inline

◆ ~ErrorInput()

virtual ErrorInput::~ErrorInput ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ additionalInfo()

virtual std::string ErrorInput::additionalInfo ( void  ) const
throw (
)
inlinevirtual

◆ fileName()

std::string ErrorInput::fileName ( ) const
throw (
)
inline

◆ getErrorCode()

int ErrorInput::getErrorCode ( )
inline

◆ infoError()

std::string ErrorInput::infoError ( void  ) const
throw (
)
inline

◆ lineNumber()

int ErrorInput::lineNumber ( ) const
throw (
)
inline

◆ what()

Member Data Documentation

◆ m_errorCode

int ErrorInput::m_errorCode
protected

◆ m_fileInput

std::string ErrorInput::m_fileInput
protected

◆ m_lineNumber

int ErrorInput::m_lineNumber
protected

◆ m_sourceFile

std::string ErrorInput::m_sourceFile
protected

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