|
Ice 3.7 C++11 API Reference
|
This exception indicates that a function was called with an illegal parameter value. More...
#include <Ice/Ice.h>


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... | |
| IllegalArgumentException (const char *, int) | |
| IllegalArgumentException (const char *, int, const std::string &) | |
| std::string | reason () const |
| Provides the reason this exception was thrown. More... | |
| virtual | ~IllegalArgumentException () throw () |
Public Member Functions inherited from IceUtil::ExceptionHelper< IllegalArgumentException > | |
| std::unique_ptr< IllegalArgumentException > | 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< Exception > | ice_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 () |
This exception indicates that a function was called with an illegal parameter value.
It is used only by the Slice to C++98 mapping; std::invalid_argument is used by the Slice to C++11 mapping.
| IceUtil::IllegalArgumentException::IllegalArgumentException | ( | const char * | , |
| int | |||
| ) |
| IceUtil::IllegalArgumentException::IllegalArgumentException | ( | const char * | , |
| int | , | ||
| const std::string & | |||
| ) |
|
virtual | |||||||||||||
|
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".
Implements IceUtil::Exception.
|
virtual |
Outputs a description of this exception to a stream.
| os | The output stream. |
Reimplemented from IceUtil::Exception.
| std::string IceUtil::IllegalArgumentException::reason | ( | ) | const |
Provides the reason this exception was thrown.