Embedded Multicore Building Blocks V1.0.0
Public Member Functions | List of all members
embb::base::ResourceBusyException Class Reference

Indicates business (unavailability) of a required resource. More...

#include <exceptions.h>

Public Member Functions

 ResourceBusyException (const char *message)
 Constructs an exception with the specified message. More...
 
virtual int Code () const
 Returns an integer code representing the exception. More...
 
virtual const char * What () const throw ()
 Returns the error message. More...
 

Detailed Description

Indicates business (unavailability) of a required resource.

Constructor & Destructor Documentation

embb::base::ResourceBusyException::ResourceBusyException ( const char *  message)
explicit

Constructs an exception with the specified message.

Parameters
[in]messageError message

Member Function Documentation

virtual int embb::base::ResourceBusyException::Code ( ) const
virtual

Returns an integer code representing the exception.

Returns
Exception code

Implements embb::base::Exception.

virtual const char* embb::base::Exception::What ( ) const
throw (
)
virtualinherited

Returns the error message.

Returns
Pointer to error message