Public Member Functions | Protected Member Functions | List of all members
ecl::SocketError Class Reference

Extends the generic error handler with socket specific error strings. More...

#include <sockets.hpp>

Inheritance diagram for ecl::SocketError:
Inheritance graph
[legend]

Public Member Functions

 SocketError (const ErrorFlag &flag=UnknownError)
 Configures the error class with the specified error flag. More...
 
- Public Member Functions inherited from ecl::Error
 Error (const ErrorFlag &flag=UnknownError)
 
virtual ErrorFlag flag () const
 
virtual void operator= (const ErrorFlag &error)
 
virtual void print (const char *loc)
 
virtual const char * what () const
 
virtual ~Error ()
 

Protected Member Functions

virtual const char * invalidArgErrorString () const
 
- Protected Member Functions inherited from ecl::Error
virtual const char * argNotSupportedErrorString () const
 
virtual const char * blockingErrorString () const
 
virtual const char * busyErrorString () const
 
virtual const char * closeErrorString () const
 
virtual const char * configurationErrorString () const
 
virtual const char * connectErrorString () const
 
virtual const char * connectionRefusedString () const
 
virtual const char * constructorErrorString () const
 
virtual const char * conversionErrorString () const
 
virtual const char * destructorErrorString () const
 
virtual const char * interruptedErrorString () const
 
virtual const char * invalidObjectErrorString () const
 
virtual const char * isLockedErrorString () const
 
virtual const char * isTimeOutErrorString () const
 
virtual const char * memoryErrorString () const
 
virtual const char * noErrorString () const
 
virtual const char * notFoundErrorString () const
 
virtual const char * notInitialisedErrorString () const
 
virtual const char * notSupportedErrorString () const
 
virtual const char * openErrorString () const
 
virtual const char * outOfRangeErrorString () const
 
virtual const char * outOfResourcesErrorString () const
 
virtual const char * permissionsErrorString () const
 
virtual const char * raiiErrorString () const
 
virtual const char * readErrorString () const
 
virtual const char * systemFailureErrorString () const
 
virtual const char * unknownErrorString () const
 
virtual const char * usageErrorString () const
 
virtual const char * writeErrorString () const
 

Additional Inherited Members

- Protected Attributes inherited from ecl::Error
ErrorFlag error_flag
 

Detailed Description

Extends the generic error handler with socket specific error strings.

Definition at line 68 of file sockets.hpp.

Constructor & Destructor Documentation

◆ SocketError()

ecl::SocketError::SocketError ( const ErrorFlag flag = UnknownError)
inline

Configures the error class with the specified error flag.

Parameters
flag: the error type.

Definition at line 76 of file sockets.hpp.

Member Function Documentation

◆ invalidArgErrorString()

virtual const char* ecl::SocketError::invalidArgErrorString ( ) const
inlineprotectedvirtual

Reimplemented from ecl::Error.

Definition at line 79 of file sockets.hpp.


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


ecl_io
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:16:11