Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Ice::UserException Class Referenceabstract

Base class for all Ice user exceptions. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::UserException:
Collaboration diagram for Ice::UserException:

Public Member Functions

virtual UserExceptionice_clone () const =0
 Polymorphically clones this exception.
virtual Ice::SlicedDataPtr ice_getSlicedData () const
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.
virtual std::string ice_id () const =0
 Returns the type ID of this exception.
int ice_line () const
 Returns the line number where this exception was constructed.
std::string ice_name () const
virtual void ice_print (std::ostream &os) const
 Outputs a description of this exception to a stream.
std::string ice_stackTrace () const
 Returns the stack trace at the point this exception was constructed.
virtual void ice_throw () const =0
 Throws this exception.
virtual const char * what () const throw ()
 Returns a description of this exception.
virtual ~Exception () throw () =0

Static Public Member Functions

static const std::string & ice_staticId ()
 Obtains the Slice type ID of this exception.

Detailed Description

Base class for all Ice user exceptions.

Member Function Documentation

◆ ice_clone()

virtual UserException * Ice::UserException::ice_clone ( ) const
pure virtual

Polymorphically clones this exception.

Returns
A shallow copy of this exception.

Implements IceUtil::Exception.

Implemented in Glacier2::CannotCreateSessionException, Glacier2::PermissionDeniedException, Glacier2::SessionNotExistException, Ice::AdapterAlreadyActiveException, Ice::AdapterNotFoundException, Ice::InvalidReplicaGroupIdException, Ice::ObjectNotFoundException, Ice::RemoteLoggerAlreadyAttachedException, Ice::ServerNotFoundException, IceBox::AlreadyStartedException, IceBox::AlreadyStoppedException, IceBox::NoSuchServiceException, IceGrid::AccessDeniedException, IceGrid::AdapterNotExistException, IceGrid::AllocationException, IceGrid::AllocationTimeoutException, IceGrid::ApplicationNotExistException, IceGrid::BadSignalException, IceGrid::DeploymentException, IceGrid::FileNotAvailableException, IceGrid::NodeNotExistException, IceGrid::NodeUnreachableException, IceGrid::ObjectExistsException, IceGrid::ObjectNotRegisteredException, IceGrid::ObserverAlreadyRegisteredException, IceGrid::ParseException, IceGrid::PatchException, IceGrid::PermissionDeniedException, IceGrid::RegistryNotExistException, IceGrid::RegistryUnreachableException, IceGrid::ServerNotExistException, IceGrid::ServerStartException, IceGrid::ServerStopException, IceGrid::ServerUnreachableException, IceGrid::UserAccountNotFoundException, IceMX::UnknownMetricsView, IceStorm::AlreadySubscribed, IceStorm::BadQoS, IceStorm::InvalidSubscriber, IceStorm::LinkExists, IceStorm::NoSuchLink, IceStorm::NoSuchTopic, and IceStorm::TopicExists.

◆ ice_getSlicedData()

virtual Ice::SlicedDataPtr Ice::UserException::ice_getSlicedData ( ) const
virtual

◆ ice_staticId()

const std::string & Ice::UserException::ice_staticId ( )
static

Obtains the Slice type ID of this exception.

Returns
The fully-scoped type ID.

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