cartobase  5.0.5
carto::io_error Class Reference

general IO error (should be specialized) More...

#include <cartobase/exception/ioexcept.h>

Inheritance diagram for carto::io_error:
Collaboration diagram for carto::io_error:

Public Member Functions

 io_error (const std::string &arg, const std::string &filename="")
 
virtual ~io_error () throw ()
 
virtual const char * what () const throw ()
 
std::string filename () const
 

Static Public Member Functions

static void launchErrnoExcept (const std::string &filename="")
 
static void keepExceptionPriority (std::exception &e, int &prio, int &type, std::string &message, int raiseprio=0)
 
static void launchExcept (int code, const std::string &msg, const std::string &defmsg="")
 

Detailed Description

general IO error (should be specialized)

Definition at line 45 of file ioexcept.h.

Constructor & Destructor Documentation

◆ io_error()

carto::io_error::io_error ( const std::string &  arg,
const std::string &  filename = "" 
)

◆ ~io_error()

virtual carto::io_error::~io_error ( )
throw (
)
virtual

Member Function Documentation

◆ filename()

std::string carto::io_error::filename ( ) const
inline

Definition at line 51 of file ioexcept.h.

References keepExceptionPriority(), launchErrnoExcept(), and launchExcept().

◆ keepExceptionPriority()

static void carto::io_error::keepExceptionPriority ( std::exception &  e,
int &  prio,
int &  type,
std::string &  message,
int  raiseprio = 0 
)
static

Referenced by filename().

◆ launchErrnoExcept()

static void carto::io_error::launchErrnoExcept ( const std::string &  filename = "")
static

Referenced by filename().

◆ launchExcept()

static void carto::io_error::launchExcept ( int  code,
const std::string &  msg,
const std::string &  defmsg = "" 
)
static

Referenced by filename().

◆ what()

virtual const char* carto::io_error::what ( ) const
throw (
)
virtual

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