Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
Ice::IconvInitializationException Class Reference

Indicates that Iconv does not support the code. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::IconvInitializationException:
Inheritance graph
[legend]
Collaboration diagram for Ice::IconvInitializationException:
Collaboration graph
[legend]

Public Member Functions

virtual std::string ice_id () const
 Obtains the Slice type ID of this exception. More...
 
virtual void ice_print (std::ostream &str) const
 Prints a description of this exception to the given stream. More...
 
 IconvInitializationException (const char *file, int line, const std::string &reason)
 Constructs the exception with a reason. More...
 
std::string reason () const
 Obtains the reason for the failure. More...
 
virtual ~IconvInitializationException () throw ()
 
- Public Member Functions inherited from IceUtil::ExceptionHelper< IconvInitializationException >
std::unique_ptr< IconvInitializationException > ice_clone () const
 
virtual void ice_throw () const override
 Throws this exception. More...
 
- Public Member Functions inherited from IceUtil::Exception
 Exception ()
 Constructs the exception. More...
 
 Exception (const char *file, int line)
 Constructs the exception. More...
 
std::unique_ptr< Exceptionice_clone () const
 Returns a shallow polymorphic copy of this exception. More...
 
const char * ice_file () const
 Returns the name of the file where this exception was constructed. More...
 
int ice_line () const
 Returns the line number where this exception was constructed. More...
 
std::string ice_stackTrace () const
 Returns the stack trace at the point this exception was constructed. More...
 
virtual void ice_throw () const =0
 Throws this exception. More...
 
virtual const char * what () const throw ()
 Returns a description of this exception. More...
 
virtual ~Exception ()=0 throw ()
 

Detailed Description

Indicates that Iconv does not support the code.

Constructor & Destructor Documentation

◆ IconvInitializationException()

Ice::IconvInitializationException::IconvInitializationException ( const char *  file,
int  line,
const std::string &  reason 
)

Constructs the exception with a reason.

The file and line number are required.

Parameters
fileThe file name in which the exception was raised, typically __FILE__.
lineThe line number at which the exception was raised, typically __LINE__.
reasonMore detail about the failure.

◆ ~IconvInitializationException()

virtual Ice::IconvInitializationException::~IconvInitializationException ( )
throw (
)
virtual

Member Function Documentation

◆ ice_id()

virtual std::string Ice::IconvInitializationException::ice_id ( ) const
virtual

Obtains the Slice type ID of this exception.

Returns
The fully-scoped type ID.

Implements IceUtil::Exception.

◆ ice_print()

virtual void Ice::IconvInitializationException::ice_print ( std::ostream &  str) const
virtual

Prints a description of this exception to the given stream.

Parameters
strThe output stream.

Reimplemented from IceUtil::Exception.

◆ reason()

std::string Ice::IconvInitializationException::reason ( ) const

Obtains the reason for the failure.

Returns
The reason.

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