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

Base class for all Ice run-time exceptions. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::LocalException:
Collaboration diagram for Ice::LocalException:

Public Member Functions

virtual LocalExceptionice_clone () const =0
 Polymorphically clones this exception.
 LocalException (const char *file, int line)
 The file and line number are required for all local exceptions.
virtual ~LocalException () throw ()
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 run-time exceptions.

Constructor & Destructor Documentation

◆ LocalException()

Ice::LocalException::LocalException ( const char * file,
int line )

The file and line number are required for all local exceptions.

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

◆ ~LocalException()

virtual Ice::LocalException::~LocalException ( )
throw ( )
virtual

Member Function Documentation

◆ ice_clone()

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

Polymorphically clones this exception.

Returns
A shallow copy of this exception.

Implements IceUtil::Exception.

Implemented in Ice::AlreadyRegisteredException, Ice::BadMagicException, Ice::CFNetworkException, Ice::CloneNotImplementedException, Ice::CloseConnectionException, Ice::CloseTimeoutException, Ice::CollocationOptimizationException, Ice::CommunicatorDestroyedException, Ice::CompressionException, Ice::ConnectFailedException, Ice::ConnectionLostException, Ice::ConnectionManuallyClosedException, Ice::ConnectionNotValidatedException, Ice::ConnectionRefusedException, Ice::ConnectionTimeoutException, Ice::ConnectTimeoutException, Ice::DatagramLimitException, Ice::DNSException, Ice::EncapsulationException, Ice::EndpointParseException, Ice::EndpointSelectionTypeParseException, Ice::FacetNotExistException, Ice::FeatureNotSupportedException, Ice::FileException, Ice::FixedProxyException, Ice::IdentityParseException, Ice::IllegalIdentityException, Ice::IllegalMessageSizeException, Ice::IllegalServantException, Ice::InitializationException, Ice::InvocationCanceledException, Ice::InvocationTimeoutException, Ice::MarshalException, Ice::MemoryLimitException, Ice::NoEndpointException, Ice::NotRegisteredException, Ice::NoValueFactoryException, Ice::ObjectAdapterDeactivatedException, Ice::ObjectAdapterIdInUseException, Ice::ObjectNotExistException, Ice::OperationInterruptedException, Ice::OperationNotExistException, Ice::PluginInitializationException, Ice::ProtocolException, Ice::ProxyParseException, Ice::ProxyUnmarshalException, Ice::RequestFailedException, Ice::ResponseSentException, Ice::SecurityException, Ice::SocketException, Ice::StringConversionException, Ice::SyscallException, Ice::TimeoutException, Ice::TwowayOnlyException, Ice::UnexpectedObjectException, Ice::UnknownException, Ice::UnknownLocalException, Ice::UnknownMessageException, Ice::UnknownReplyStatusException, Ice::UnknownRequestIdException, Ice::UnknownUserException, Ice::UnmarshalOutOfBoundsException, Ice::UnsupportedEncodingException, Ice::UnsupportedProtocolException, Ice::VersionMismatchException, Ice::VersionParseException, and IceBox::FailureException.

◆ ice_staticId()

const std::string & Ice::LocalException::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: