Pong
June 11th 2014, Error Handling
← June 10th 2014 SSL Transmission Client and Server | ● | June 12th 2014 Server GUI →
Introduced an SSLError class, which gets thrown after encountering various errors during ssl socket operations.
Example:
try
{
SSLError e("this cannot happen");
if (0 != 1) throw e;
}
catch (SSLError &e)
{
std::cout << e.what << std::endl;
}
{
SSLError e("this cannot happen");
if (0 != 1) throw e;
}
catch (SSLError &e)
{
std::cout << e.what << std::endl;
}
← June 10th 2014 SSL Transmission Client and Server | ● | June 12th 2014 Server GUI →