#include <capiexception.h>
Inheritance diagram for CapiWrongState:
Public Member Functions | |
CapiWrongState (string errormsg, string function_name) | |
Constructor. Create an object, print error message and abort if severity FATAL was chosen. | |
virtual string | message () |
Return nice formatted error message. |
This exception is thrown if the Connection is in a wrong state (see Connection::ncci_state and Connection::plci_state) when something connection related should be done. This usually means the call was disconnected by the other party and should be handled by clearing the ressources controlling the call.
|
Constructor. Create an object, print error message and abort if severity FATAL was chosen.
|
|
Return nice formatted error message. Returns the string "Classname: error message occured in function()"
Reimplemented from CapiError.
|