CppCMS
Public Member Functions | List of all members
cppcms::http::abort_upload Class Reference

#include <cppcms/http_content_filter.h>

Inheritance diagram for cppcms::http::abort_upload:
cppcms::cppcms_error booster::runtime_error booster::backtrace

Public Member Functions

 abort_upload (int status_code)
 
int code () const
 
- Public Member Functions inherited from cppcms::cppcms_error
 cppcms_error (int err, std::string const &error)
 
 cppcms_error (std::string const &error)
 
- Public Member Functions inherited from booster::runtime_error
 runtime_error (std::string const &s)
 
- Public Member Functions inherited from booster::backtrace
 backtrace (size_t frames_no=default_stack_size)
 
size_t stack_size () const
 
void * return_address (unsigned frame_no) const
 
void trace_line (unsigned frame_no, std::ostream &out) const
 
std::string trace_line (unsigned frame_no) const
 
std::string trace () const
 
void trace (std::ostream &out) const
 

Additional Inherited Members

- Static Public Attributes inherited from booster::backtrace
static size_t const default_stack_size = 32
 

Detailed Description

Exceptions that is thrown to abort content upload progress indicating an error

New in CppCMS 1.2

Constructor & Destructor Documentation

cppcms::http::abort_upload::abort_upload ( int  status_code)

Abort upload progress, thrown from classes derived from basic_content_filter to abort the upload progress. status_code is the HTTP error code returned, for example 413 requested entity is too large

Member Function Documentation

int cppcms::http::abort_upload::code ( ) const

Get the code


The documentation for this class was generated from the following file: