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

This exception indicates the failure of a string conversion. More...

#include <Ice/Ice.h>

Inheritance diagram for IceUtil::IllegalConversionException:
Inheritance graph
[legend]
Collaboration diagram for IceUtil::IllegalConversionException:
Collaboration graph
[legend]

Public Member Functions

virtual std::string ice_id () const
 Returns the type ID of this exception. More...
 
virtual void ice_print (std::ostream &) const
 Outputs a description of this exception to a stream. More...
 
 IllegalConversionException (const char *, int)
 
 IllegalConversionException (const char *, int, const std::string &)
 
std::string reason () const
 Provides the reason this exception was thrown. More...
 
virtual ~IllegalConversionException () throw ()
 
- Public Member Functions inherited from IceUtil::ExceptionHelper< IllegalConversionException >
std::unique_ptr< IllegalConversionExceptionice_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

This exception indicates the failure of a string conversion.

Constructor & Destructor Documentation

◆ IllegalConversionException() [1/2]

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

◆ IllegalConversionException() [2/2]

IceUtil::IllegalConversionException::IllegalConversionException ( const char *  ,
int  ,
const std::string &   
)

◆ ~IllegalConversionException()

virtual IceUtil::IllegalConversionException::~IllegalConversionException ( )
throw (
)
virtual

Member Function Documentation

◆ ice_id()

virtual std::string IceUtil::IllegalConversionException::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::IllegalConversionException::ice_print ( std::ostream &  os) const
virtual

Outputs a description of this exception to a stream.

Parameters
osThe output stream.

Reimplemented from IceUtil::Exception.

◆ reason()

std::string IceUtil::IllegalConversionException::reason ( ) const

Provides the reason this exception was thrown.

Returns
The reason.

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