This exception indicates the failure to lock a file.
More...
#include <Ice/Ice.h>
|
| int | error () const |
| | Returns the error number for the failed locking attempt.
|
| | FileLockException (const char *, int, int, const std::string &) |
| virtual std::string | ice_id () const |
| | Returns the type ID of this exception.
|
| virtual void | ice_print (std::ostream &) const |
| | Outputs a description of this exception to a stream.
|
| std::string | path () const |
| | Returns the path to the file.
|
| virtual | ~FileLockException () throw () |
| std::unique_ptr< FileLockException > | ice_clone () const |
| virtual void | ice_throw () const override |
| | Throws this exception.
|
| | 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 |
This exception indicates the failure to lock a file.
◆ FileLockException()
| IceUtil::FileLockException::FileLockException |
( |
const char * | , |
|
|
int | , |
|
|
int | , |
|
|
const std::string & | ) |
◆ ~FileLockException()
| virtual IceUtil::FileLockException::~FileLockException |
( |
| ) |
|
| throw | ( | ) | | | |
|
virtual |
◆ error()
| int IceUtil::FileLockException::error |
( |
| ) |
const |
Returns the error number for the failed locking attempt.
- Returns
- The error number.
◆ ice_id()
| virtual std::string IceUtil::FileLockException::ice_id |
( |
| ) |
const |
|
virtual |
Returns the type ID of this exception.
This corresponds to the Slice type ID for Slice-defined exceptions, and to a similar fully scoped name for other exceptions. For example "::IceUtil::SyscallException".
- Returns
- The type ID of this exception
Implements IceUtil::Exception.
◆ ice_print()
| virtual void IceUtil::FileLockException::ice_print |
( |
std::ostream & | os | ) |
const |
|
virtual |
Outputs a description of this exception to a stream.
- Parameters
-
Reimplemented from IceUtil::Exception.
◆ path()
| std::string IceUtil::FileLockException::path |
( |
| ) |
const |
Returns the path to the file.
- Returns
- The file path.
The documentation for this class was generated from the following file: