5#ifndef ICE_EXCEPTION_HELPERS_H
6#define ICE_EXCEPTION_HELPERS_H
8#ifdef ICE_CPP11_MAPPING
28 virtual std::string
ice_id()
const override
30 return T::ice_staticId();
44 virtual std::string
ice_id()
const override
46 return T::ice_staticId();
54 os->
startSlice(T::ice_staticId(), -1, std::is_same<B, Ice::UserException>::value ?
true :
false);
55 Ice::StreamWriter<T, Ice::OutputStream>::write(os,
static_cast<const T&
>(*
this));
63 Ice::StreamReader<T, ::Ice::InputStream>::read(is,
static_cast<T&
>(*
this));
Helper template for the implementation of Ice::Exception.
Definition Exception.h:128
Helper template for the implementation of Ice::LocalException.
Definition ExceptionHelpers.h:23
virtual std::string ice_id() const override
Definition ExceptionHelpers.h:28
Base class for all Ice run-time exceptions.
Definition Exception.h:29
Interface for output streams used to create a sequence of bytes from Slice types.
Definition OutputStream.h:28
void startSlice(const std::string &typeId, int compactId, bool last)
Writes the start of a value or exception slice.
Definition OutputStream.h:285
void endSlice()
Marks the end of a value or exception slice.
Definition OutputStream.h:294
Helper template for the implementation of Ice::UserException.
Definition ExceptionHelpers.h:39
virtual std::string ice_id() const override
Definition ExceptionHelpers.h:44
Definition BuiltinSequences.h:56