Stack Exceptions

From reSIProcate

Jump to: navigation, search

IN PROGRESS

All reSIProcate exceptions derive from resip::BaseException. In general, threads using reSIProcate should have a try/catch to prevent unexpected exceptions.

try
{
    ...
}
catch (resip::BaseException& e)
{
   WarningLog(<< "Caught " << e);
   ...
}
catch (std::exception& e1)
{
   WarningLog(<< "Caught " << e1.what());
   ...
}
catch (...)
{
   WarningLog(<< "Caught unknown exception!");
   ...
}

Contents

[edit] DeprecatedDialog::Exception

This exception is raised when a required header is missing or malformed or when a CSeq within a dialog is out of order.

[edit] DnsInterface::Exception

This exception is raised when the DNS module fails to initialize.

[edit] DnsUtil::Exception

This exception is raised when the native implementations of address translations fail.

[edit] MultipartMixedContents::Exception

This exception is raised when the multipart mixed contents is malformed.

[edit] ParserCategory::Exception

Missing parameter on const ParserCategory/Uri access.

[edit] ParseBuffer::Exception

Various parse validation problems. Keep in mind that parsing is lazy, so this exception can be thrown nearly anytime.

[edit] BaseSecurity::Exception

This exception is raised when persisting or reading certificates fails, when there is a miss on the certificate cache, or when the associated AOR fails to parse.

[edit] SipMessage::Exception

This exception is raised when a missing header is requested for a const SipMessage.

[edit] SipStack::Exception

This exception is raised when a stack with no associated domains is asked for its URI.

[edit] Transport::Exception

This exception is raised when a derived Transport cannot be created or used.

[edit] ExtensionHeader::Exception

This exception is raised when an extension header name is the empty string. Probably overkill; an assertion would do the trick.

[edit] WinCompat::Exception

This exception is raised in determineSourceInterface for Windows.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox