Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
IceUtil::SyscallException Class Reference

This exception indicates the failure of a system call. More...

#include <Ice/Ice.h>

Inheritance diagram for IceUtil::SyscallException:
Collaboration diagram for IceUtil::SyscallException:

Public Member Functions

int error () const
 Provides the error number returned by the system call.
virtual SyscallExceptionice_clone () const
 Returns a shallow polymorphic copy of this exception.
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.
 SyscallException (const char *, int, int)
virtual ~SyscallException () throw ()
Public Member Functions inherited from IceUtil::ExceptionHelper< SyscallException >
 ExceptionHelper ()
virtual void ice_throw () const
 Throws this exception.
Public Member Functions inherited from IceUtil::Exception
 Exception ()
 Constructs the exception.
 Exception (const char *file, int line)
 Constructs the 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_name () const
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

Detailed Description

This exception indicates the failure of a system call.

Constructor & Destructor Documentation

◆ SyscallException()

IceUtil::SyscallException::SyscallException ( const char * ,
int ,
int  )

◆ ~SyscallException()

virtual IceUtil::SyscallException::~SyscallException ( )
throw ( )
virtual

Member Function Documentation

◆ error()

int IceUtil::SyscallException::error ( ) const

Provides the error number returned by the system call.

Returns
The error number.

◆ ice_clone()

virtual SyscallException * IceUtil::SyscallException::ice_clone ( ) const
virtual

Returns a shallow polymorphic copy of this exception.

Returns
A pointer to the new shallow copy. The caller owns the returned object.

Implements IceUtil::Exception.

Reimplemented in IceUtil::ThreadSyscallException.

◆ ice_id()

virtual std::string IceUtil::SyscallException::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.

Reimplemented in IceUtil::ThreadSyscallException.

◆ ice_print()

virtual void IceUtil::SyscallException::ice_print ( std::ostream & os) const
virtual

Outputs a description of this exception to a stream.

Parameters
osThe output stream.

Reimplemented from IceUtil::Exception.


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