proxygen
|
#include <Exception.h>
Public Member Functions | |
Exception (std::string const &msg) | |
Exception (const Exception &) | |
Exception (Exception &other) | |
Exception (Exception &&) noexcept | |
template<typename... Args> | |
Exception (Args &&...args) | |
~Exception (void) noexceptoverride | |
const char * | what (void) const noexceptoverride |
void | setCode (int code) |
int | getCode () const |
bool | hasProxygenError () const |
void | setProxygenError (ProxygenError proxygenError) |
ProxygenError | getProxygenError () const |
Private Attributes | |
const std::string | msg_ |
int | code_ |
ProxygenError | proxygenError_ {kErrorNone} |
Base class for all exceptions.
Definition at line 22 of file Exception.h.
|
explicit |
Exception::Exception | ( | const Exception & | other | ) |
Definition at line 16 of file Exception.cpp.
|
inline |
Definition at line 26 of file Exception.h.
References testing::Args(), Exception(), and folly::pushmi::__adl::noexcept().
|
noexcept |
Definition at line 21 of file Exception.cpp.
|
inlineexplicit |
Definition at line 30 of file Exception.h.
|
inlineoverridenoexcept |
Definition at line 33 of file Exception.h.
References folly::pushmi::__adl::noexcept(), and what().
|
inline |
|
inline |
Definition at line 50 of file Exception.h.
References proxygenError_.
Referenced by proxygen::HTTPSessionBase::handleErrorDirectly(), proxygen::HTTPTransaction::onError(), proxygen::operator<<(), TEST_F(), MockCodecDownstreamTest::testConnFlowControlBlocked(), and TYPED_TEST_P().
|
inline |
Definition at line 44 of file Exception.h.
References proxygen::kErrorNone, and proxygenError_.
Referenced by TEST_F().
|
inline |
|
inline |
Definition at line 46 of file Exception.h.
References proxygenError_.
Referenced by proxygen::HTTPSession::errorOnTransactionIds(), proxygen::SPDYCodec::failSession(), proxygen::SPDYCodec::failStream(), proxygen::HTTPSession::onAbort(), proxygen::HTTPTransaction::onEgressTimeout(), proxygen::HTTPSession::onGoaway(), proxygen::HTTPChecks::onHeadersComplete(), proxygen::HTTPTransaction::onIngressBody(), proxygen::HTTPTransaction::onIngressEOM(), proxygen::HTTPTransaction::onIngressTimeout(), proxygen::HTTP1xCodec::onParserError(), proxygen::HTTPTransaction::sendBodyNow(), proxygen::HTTPSession::shutdownTransport(), TEST(), TEST_F(), and proxygen::HTTPTransaction::validateIngressStateTransition().
|
overridenoexcept |
Definition at line 26 of file Exception.cpp.
References msg_.
Referenced by proxygen::HTTPCodecPrinter::onError(), proxygen::HTTPSession::onSessionParseError(), proxygen::operator<<(), TEST_F(), TYPED_TEST_P(), and ~Exception().
|
private |
Definition at line 54 of file Exception.h.
|
private |
Definition at line 53 of file Exception.h.
Referenced by what().
|
private |
Definition at line 55 of file Exception.h.
Referenced by getProxygenError(), hasProxygenError(), and setProxygenError().