Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members
IlsCantCreateThreadException Class Reference

Thrown when the portable library cannot create a new thread. More...

#include <ilserver/except.h>

Inheritance diagram for IlsCantCreateThreadException:
IlsThreadException IlsMTException IlsException

Additional Inherited Members

- Public Member Functions inherited from IlsException
 IlsException (char *message=0, IlsBoolean destroyMessage=IlsFalse)
 This constructor creates an instance of IlsException. More...
 
 IlsException (const char *message)
 This constructor creates an instance of IlsException. The message parameter will not be deleted or copied. More...
 
 IlsException (const IlsException &rhs)
 This copy constructor copies an instance of a message. More...
 
virtual ~IlsException ()
 This virtual destructor will delete the message it contains if the exception was created with the destroyMessage parameter set to IlsTrue.
 
const char * getMessage () const
 This member function returns the message, if any, contained in the exception. More...
 
IlsBoolean operator== (const IlsException &rhs) const
 This copy operator copies the exception rhs. More...
 
void setMessage (const char *message)
 This member function changes the message in an exception. More...
 

Detailed Description

Thrown when the portable library cannot create a new thread.

The method getMessage() can be used on the exception to retrieve the system-dependent message as shown below:

try {
IlsThread t();
}
// get the message
const char* reason = exc.getMessage();
}
See also
IlsThread.
IlsException::getMessage
const char * getMessage() const
This member function returns the message, if any, contained in the exception.
Definition: except.h:141
IlsCantCreateThreadException
Thrown when the portable library cannot create a new thread.
Definition: ithread.h:2108
IlsThread
API FOR ADVANCED USERS – A thread object is used to create a new thread of execution.
Definition: ithread.h:602