This exception indicates file errors.
More...
#include <Ice/Ice.h>
|
| | FileException (const char *file, int line) |
| | The file and line number are required for all local exceptions.
|
| | FileException (const char *file, int line, int error, const ::std::string &path) |
| | One-shot constructor to initialize all data members.
|
| | FileException (const FileException &)=default |
| virtual void | ice_print (::std::ostream &stream) const override |
| | Prints this exception to the given stream.
|
| std::tuple< const int &, const ::std::string & > | ice_tuple () const |
| | Obtains a tuple containing all of the exception's data members.
|
| virtual | ~FileException () |
| virtual std::string | ice_id () const override |
| std::unique_ptr< FileException > | ice_clone () const |
| virtual void | ice_throw () const override |
| | Throws this exception.
|
| int | error () const |
| | Provides the error number returned by the system call.
|
| virtual void | ice_print (std::ostream &) const |
| | Outputs a description of this exception to a stream.
|
| | SyscallException (const char *, int, int) |
| virtual | ~SyscallException () throw () |
| std::unique_ptr< SyscallException > | ice_clone () const |
| | Exception () |
| | Constructs the exception.
|
| | Exception (const char *file, int line) |
| | Constructs the exception.
|
| std::unique_ptr< Exception > | ice_clone () const |
| | Returns a shallow polymorphic copy of this exception.
|
| const char * | ice_file () const |
| | Returns the name of the file where this exception was constructed.
|
| int | ice_line () const |
| | Returns the line number where this exception was constructed.
|
| std::string | ice_stackTrace () const |
| | Returns the stack trace at the point this exception was constructed.
|
| virtual const char * | what () const throw () |
| | Returns a description of this exception.
|
| virtual | ~Exception () throw () =0 |
|
| static const ::std::string & | ice_staticId () |
| | Obtains the Slice type ID of this exception.
|
|
| ::std::string | path |
| | The path of the file responsible for the error.
|
This exception indicates file errors.
◆ ~FileException()
| virtual Ice::FileException::~FileException |
( |
| ) |
|
|
virtual |
◆ FileException() [1/3]
| Ice::FileException::FileException |
( |
const FileException & | | ) |
|
|
default |
◆ FileException() [2/3]
| Ice::FileException::FileException |
( |
const char * | file, |
|
|
int | line ) |
|
inline |
The file and line number are required for all local exceptions.
- Parameters
-
| file | The file name in which the exception was raised, typically __FILE__. |
| line | The line number at which the exception was raised, typically __LINE__. |
◆ FileException() [3/3]
| Ice::FileException::FileException |
( |
const char * | file, |
|
|
int | line, |
|
|
int | error, |
|
|
const ::std::string & | path ) |
|
inline |
One-shot constructor to initialize all data members.
The file and line number are required for all local exceptions.
- Parameters
-
| file | The file name in which the exception was raised, typically __FILE__. |
| line | The line number at which the exception was raised, typically __LINE__. |
| error | The error number describing the system exception. |
| path | The path of the file responsible for the error. |
◆ ice_print()
| virtual void Ice::FileException::ice_print |
( |
::std::ostream & | stream | ) |
const |
|
overridevirtual |
Prints this exception to the given stream.
- Parameters
-
◆ ice_staticId()
| const ::std::string & Ice::FileException::ice_staticId |
( |
| ) |
|
|
static |
Obtains the Slice type ID of this exception.
- Returns
- The fully-scoped type ID.
◆ ice_tuple()
| std::tuple< const int &, const ::std::string & > Ice::FileException::ice_tuple |
( |
| ) |
const |
|
inline |
Obtains a tuple containing all of the exception's data members.
- Returns
- The data members in a tuple.
◆ path
| ::std::string Ice::FileException::path |
The path of the file responsible for the error.
The documentation for this class was generated from the following file: