#include <network_httperror.h>
Http Error. This error is returned from functions of the NetworkHttpHandlerInterface.
Public Member Functions | |
MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS (protected:void Create(MAXON_SOURCE_LOCATION_DECLARATION, HTTPCODE errorCode) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetHttpCode(errorCode);} void Create(MAXON_SOURCE_LOCATION_DECLARATION, HTTPCODE errorCode, const Error &causeError) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetHttpCode(errorCode);e.SetCause(causeError);}) | |
MAXON_FUNCTION HTTPCODE | GetHttpCode () const |
MAXON_FUNCTION void | SetHttpCode (HTTPCODE errorCode) |
Private Member Functions | |
MAXON_INTERFACE (HttpCodeErrorInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.httpcodeerror") | |
|
private |
MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS | ( | protected:void Create(MAXON_SOURCE_LOCATION_DECLARATION, HTTPCODE errorCode) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetHttpCode(errorCode);} void Create(MAXON_SOURCE_LOCATION_DECLARATION, HTTPCODE errorCode, const Error &causeError) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetHttpCode(errorCode);e.SetCause(causeError);} | ) |
MAXON_FUNCTION HTTPCODE GetHttpCode | ( | ) | const |
MAXON_FUNCTION void SetHttpCode | ( | HTTPCODE | errorCode | ) |