Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::interprocess::bad_alloc Class Reference

This is the exception thrown by named interprocess_semaphore when a deadlock situation is detected or when an error is detected in the post/wait operation. More...

#include <exceptions.hpp>

Inheritance diagram for boost::interprocess::bad_alloc:
Collaboration diagram for boost::interprocess::bad_alloc:

Public Member Functions

 bad_alloc ()
 
virtual const char * what () const throw ()
 
native_error_t get_native_error () const
 
error_code_t get_error_code () const
 

Detailed Description

This is the exception thrown by named interprocess_semaphore when a deadlock situation is detected or when an error is detected in the post/wait operation.

This is the exception thrown by synchronization objects when there is an error in a wait() function This exception is thrown when a named object is created in "open_only" mode and the resource was not already created This exception is thrown when a memory request can't be fulfilled.

Constructor & Destructor Documentation

boost::interprocess::bad_alloc::bad_alloc ( )
inline

Member Function Documentation

error_code_t boost::interprocess::interprocess_exception::get_error_code ( ) const
inlineinherited
native_error_t boost::interprocess::interprocess_exception::get_native_error ( ) const
inlineinherited
virtual const char* boost::interprocess::bad_alloc::what ( ) const
throw (
)
inlinevirtual

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