|
Ice 3.7 C++98 API Reference
|
Abstract base class for all Ice exceptions. More...
#include <Ice/Ice.h>


Public Member Functions | |
| Exception () | |
| Constructs the exception. | |
| Exception (const char *file, int line) | |
| Constructs the exception. | |
| virtual Exception * | ice_clone () const =0 |
| Returns a shallow polymorphic copy of this 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 |
Abstract base class for all Ice exceptions.
Use the Ice::Exception alias instead of IceUtil::Exception.
| IceUtil::Exception::Exception | ( | ) |
Constructs the exception.
Equivalent to Exception(nullptr, 0).
| IceUtil::Exception::Exception | ( | const char * | file, |
| int | line ) |
Constructs the exception.
| file | The file where this exception is constructed. |
| line | The line where this exception is constructed. |
|
pure virtual | ||||||||||||
|
pure virtual |
Returns a shallow polymorphic copy of this exception.
Implemented in Glacier2::CannotCreateSessionException, Glacier2::PermissionDeniedException, Glacier2::RestartSessionException, Glacier2::SessionNotExistException, Ice::AdapterAlreadyActiveException, Ice::AdapterNotFoundException, 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::IconvInitializationException, Ice::IdentityParseException, Ice::IllegalIdentityException, Ice::IllegalMessageSizeException, Ice::IllegalServantException, Ice::InitializationException, Ice::InvalidReplicaGroupIdException, Ice::InvocationCanceledException, Ice::InvocationTimeoutException, Ice::LocalException, Ice::MarshalException, Ice::MemoryLimitException, Ice::NoEndpointException, Ice::NotRegisteredException, Ice::NoValueFactoryException, Ice::ObjectAdapterDeactivatedException, Ice::ObjectAdapterIdInUseException, Ice::ObjectNotExistException, Ice::ObjectNotFoundException, Ice::OperationInterruptedException, Ice::OperationNotExistException, Ice::PluginInitializationException, Ice::ProtocolException, Ice::ProxyParseException, Ice::ProxyUnmarshalException, Ice::RemoteLoggerAlreadyAttachedException, Ice::RequestFailedException, Ice::ResponseSentException, Ice::SecurityException, Ice::ServerNotFoundException, Ice::SocketException, Ice::StringConversionException, Ice::SyscallException, Ice::SystemException, 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::UserException, Ice::VersionMismatchException, Ice::VersionParseException, IceBox::AlreadyStartedException, IceBox::AlreadyStoppedException, IceBox::FailureException, 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, IceSSL::CertificateEncodingException, IceSSL::CertificateReadException, IceSSL::ParseException, IceStorm::AlreadySubscribed, IceStorm::BadQoS, IceStorm::InvalidSubscriber, IceStorm::LinkExists, IceStorm::NoSuchLink, IceStorm::NoSuchTopic, IceStorm::TopicExists, IceUtil::BadThreadControlException, IceUtil::CtrlCHandlerException, IceUtil::FileLockException, IceUtil::IllegalArgumentException, IceUtil::IllegalConversionException, IceUtil::InvalidTimeoutException, IceUtil::NullHandleException, IceUtil::OptionalNotSetException, IceUtil::SyscallException, IceUtil::ThreadLockedException, IceUtil::ThreadNotStartedException, IceUtil::ThreadStartedException, and IceUtil::ThreadSyscallException.
| const char * IceUtil::Exception::ice_file | ( | ) | const |
Returns the name of the file where this exception was constructed.
|
pure 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".
Implemented in Glacier2::CannotCreateSessionException, Glacier2::PermissionDeniedException, Glacier2::RestartSessionException, Glacier2::SessionNotExistException, Ice::AdapterAlreadyActiveException, Ice::AdapterNotFoundException, 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::IconvInitializationException, Ice::IdentityParseException, Ice::IllegalIdentityException, Ice::IllegalMessageSizeException, Ice::IllegalServantException, Ice::InitializationException, Ice::InvalidReplicaGroupIdException, Ice::InvocationCanceledException, Ice::InvocationTimeoutException, Ice::MarshalException, Ice::MemoryLimitException, Ice::NoEndpointException, Ice::NotRegisteredException, Ice::NoValueFactoryException, Ice::ObjectAdapterDeactivatedException, Ice::ObjectAdapterIdInUseException, Ice::ObjectNotExistException, Ice::ObjectNotFoundException, Ice::OperationInterruptedException, Ice::OperationNotExistException, Ice::PluginInitializationException, Ice::ProtocolException, Ice::ProxyParseException, Ice::ProxyUnmarshalException, Ice::RemoteLoggerAlreadyAttachedException, Ice::RequestFailedException, Ice::ResponseSentException, Ice::SecurityException, Ice::ServerNotFoundException, 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, IceBox::AlreadyStartedException, IceBox::AlreadyStoppedException, IceBox::FailureException, 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, IceSSL::CertificateEncodingException, IceSSL::CertificateReadException, IceSSL::ParseException, IceStorm::AlreadySubscribed, IceStorm::BadQoS, IceStorm::InvalidSubscriber, IceStorm::LinkExists, IceStorm::NoSuchLink, IceStorm::NoSuchTopic, IceStorm::TopicExists, IceUtil::BadThreadControlException, IceUtil::CtrlCHandlerException, IceUtil::FileLockException, IceUtil::IllegalArgumentException, IceUtil::IllegalConversionException, IceUtil::InvalidTimeoutException, IceUtil::NullHandleException, IceUtil::OptionalNotSetException, IceUtil::SyscallException, IceUtil::ThreadLockedException, IceUtil::ThreadNotStartedException, IceUtil::ThreadStartedException, and IceUtil::ThreadSyscallException.
| int IceUtil::Exception::ice_line | ( | ) | const |
Returns the line number where this exception was constructed.
| std::string IceUtil::Exception::ice_name | ( | ) | const |
|
virtual |
Outputs a description of this exception to a stream.
| os | The output stream. |
Reimplemented in Ice::IconvInitializationException, IceUtil::FileLockException, IceUtil::IllegalArgumentException, IceUtil::IllegalConversionException, IceUtil::InvalidTimeoutException, and IceUtil::SyscallException.
| std::string IceUtil::Exception::ice_stackTrace | ( | ) | const |
Returns the stack trace at the point this exception was constructed.
|
pure virtual |
Throws this exception.
Implemented in Glacier2::CannotCreateSessionException, Glacier2::PermissionDeniedException, Glacier2::SessionNotExistException, Ice::AdapterAlreadyActiveException, Ice::AdapterNotFoundException, 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::InvalidReplicaGroupIdException, Ice::InvocationCanceledException, Ice::InvocationTimeoutException, Ice::MarshalException, Ice::MemoryLimitException, Ice::NoEndpointException, Ice::NotRegisteredException, Ice::NoValueFactoryException, Ice::ObjectAdapterDeactivatedException, Ice::ObjectAdapterIdInUseException, Ice::ObjectNotExistException, Ice::ObjectNotFoundException, Ice::OperationInterruptedException, Ice::OperationNotExistException, Ice::PluginInitializationException, Ice::ProtocolException, Ice::ProxyParseException, Ice::ProxyUnmarshalException, Ice::RemoteLoggerAlreadyAttachedException, Ice::RequestFailedException, Ice::ResponseSentException, Ice::SecurityException, Ice::ServerNotFoundException, 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, IceBox::AlreadyStartedException, IceBox::AlreadyStoppedException, IceBox::FailureException, 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, IceStorm::TopicExists, IceUtil::ExceptionHelper< E >, IceUtil::ExceptionHelper< APIException >, IceUtil::ExceptionHelper< BadOptException >, IceUtil::ExceptionHelper< BadThreadControlException >, IceUtil::ExceptionHelper< CertificateEncodingException >, IceUtil::ExceptionHelper< CertificateReadException >, IceUtil::ExceptionHelper< CtrlCHandlerException >, IceUtil::ExceptionHelper< FileLockException >, IceUtil::ExceptionHelper< IconvInitializationException >, IceUtil::ExceptionHelper< IllegalArgumentException >, IceUtil::ExceptionHelper< IllegalConversionException >, IceUtil::ExceptionHelper< InvalidTimeoutException >, IceUtil::ExceptionHelper< NullHandleException >, IceUtil::ExceptionHelper< OptionalNotSetException >, IceUtil::ExceptionHelper< ParseException >, IceUtil::ExceptionHelper< RestartSessionException >, IceUtil::ExceptionHelper< SyscallException >, IceUtil::ExceptionHelper< ThreadLockedException >, IceUtil::ExceptionHelper< ThreadNotStartedException >, IceUtil::ExceptionHelper< ThreadStartedException >, IceUtil::SyscallExceptionHelper< E >, and IceUtil::SyscallExceptionHelper< ThreadSyscallException >.
|
virtual | ||||||||||||
Returns a description of this exception.