|
#define | ZYPP_EX_CODELOCATION ::zypp::exception_detail::CodeLocation(( *__FILE__ == '/' ? strrchr( __FILE__, '/' ) + 1 : __FILE__ ),__FUNCTION__,__LINE__) |
| Create CodeLocation object storing the current location. More...
|
|
#define | ZYPP_THROW(EXCPT) ::zypp::exception_detail::do_ZYPP_THROW( EXCPT, ZYPP_EX_CODELOCATION ) |
| Drops a logline and throws the Exception. More...
|
|
#define | ZYPP_EXCPT_PTR(EXCPT) ::zypp::exception_detail::do_ZYPP_EXCPT_PTR( EXCPT, ZYPP_EX_CODELOCATION ) |
| Drops a logline and returns Exception as a std::exception_ptr. More...
|
|
#define | ZYPP_FWD_EXCPT(EXCPT) ::zypp::exception_detail::do_ZYPP_FWD_EXCPT_PTR( EXCPT, ZYPP_EX_CODELOCATION ) |
| Drops a logline and returns the given Exception as a std::exception_ptr. More...
|
|
#define | ZYPP_FWD_CURRENT_EXCPT() ::zypp::exception_detail::do_ZYPP_FWD_EXCPT_PTR( std::current_exception(), ZYPP_EX_CODELOCATION ) |
| Drops a logline and returns the current Exception as a std::exception_ptr. More...
|
|
#define | ZYPP_CAUGHT(EXCPT) ::zypp::exception_detail::do_ZYPP_CAUGHT( EXCPT, ZYPP_EX_CODELOCATION ) |
| Drops a logline telling the Exception was caught (in order to handle it). More...
|
|
#define | ZYPP_RETHROW(EXCPT) ::zypp::exception_detail::do_ZYPP_RETHROW( EXCPT, ZYPP_EX_CODELOCATION ) |
| Drops a logline and rethrows, updating the CodeLocation. More...
|
|
#define | ZYPP_THROW_MSG(EXCPTTYPE, MSG) ZYPP_THROW( EXCPTTYPE( MSG ) ) |
| Throw Exception built from a message string. More...
|
|
#define | ZYPP_THROW_ERRNO(EXCPTTYPE) ZYPP_THROW( EXCPTTYPE( ::zypp::Exception::strErrno(errno) ) ) |
| Throw Exception built from errno. More...
|
|
#define | ZYPP_THROW_ERRNO1(EXCPTTYPE, ERRNO) ZYPP_THROW( EXCPTTYPE( ::zypp::Exception::strErrno(ERRNO) ) ) |
| Throw Exception built from errno provided as argument. More...
|
|
#define | ZYPP_THROW_ERRNO_MSG(EXCPTTYPE, MSG) ZYPP_THROW( EXCPTTYPE( ::zypp::Exception::strErrno(errno,MSG) ) ) |
| Throw Exception built from errno and a message string. More...
|
|
#define | ZYPP_THROW_ERRNO_MSG1(EXCPTTYPE, ERRNO, MSG) ZYPP_THROW( EXCPTTYPE( ::zypp::Exception::strErrno(ERRNO,MSG) ) ) |
| Throw Exception built from errno provided as argument and a message string. More...
|
|
|
std::ostream & | zypp::operator<< (std::ostream &str, const std::exception_ptr &excptPtr) ZYPP_API |
| Log a std::excepion_ptr. More...
|
|
template<class TExcpt , EnableIfIsException< TExcpt > = 0> |
void | zypp::exception_detail::do_ZYPP_THROW (const TExcpt &excpt_r, const CodeLocation &where_r) __attribute__((noreturn)) |
| Helper for ZYPP_THROW( Exception ). More...
|
|
template<class TExcpt , EnableIfIsException< TExcpt > = 0> |
void | zypp::exception_detail::do_ZYPP_THROW (const TExcpt &excpt_r, CodeLocation &&where_r) __attribute__((noreturn)) |
|
template<class TExcpt , EnableIfIsException< TExcpt > = 0> |
void | zypp::exception_detail::do_ZYPP_CAUGHT (const TExcpt &excpt_r, const CodeLocation &where_r) |
| Helper for ZYPP_THROW( Exception ). More...
|
|
void | zypp::exception_detail::do_ZYPP_CAUGHT (const std::exception_ptr &excpt_r, CodeLocation &&where_r) |
| Helper for std::exception_ptr. More...
|
|
template<class TExcpt , EnableIfIsException< TExcpt > = 0> |
void | zypp::exception_detail::do_ZYPP_RETHROW (const TExcpt &excpt_r, const CodeLocation &where_r) __attribute__((noreturn)) |
| Helper for ZYPP_THROW( Exception ). More...
|
|
template<class TExcpt , EnableIfIsException< TExcpt > = 0> |
void | zypp::exception_detail::do_ZYPP_RETHROW (const TExcpt &excpt_r, CodeLocation &&where_r) __attribute__((noreturn)) |
|
void | zypp::exception_detail::do_ZYPP_RETHROW (const std::exception_ptr &excpt_r, const CodeLocation &where_r) |
|
template<class TExcpt > |
std::exception_ptr | zypp::exception_detail::do_ZYPP_EXCPT_PTR (TExcpt &&excpt_r, CodeLocation &&where_r) |
| Helper for ZYPP_EXCPT_PTR( Exception ). More...
|
|
std::exception_ptr | zypp::exception_detail::do_ZYPP_FWD_EXCPT_PTR (const std::exception_ptr &excpt_r, CodeLocation &&where_r) |
| Helper for ZYPP_FWD_CURRENT_EXCPT(). More...
|
|