<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llcommon/tests/llexception_test.cpp, branch cef_147</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=cef_147</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=cef_147'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2020-03-25T23:21:16Z</updated>
<entry>
<title>DRTVWR-476: Add LLTHROW()/LOG_UNHANDLED_EXCEPTION() test.</title>
<updated>2020-03-25T23:21:16Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2019-11-19T01:17:01Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=b41a2eff4545b361afbee5d32f5d0f679702b203'/>
<id>urn:sha1:b41a2eff4545b361afbee5d32f5d0f679702b203</id>
<content type='text'>
llexception_test.cpp is about discovering appropriate infrastructure to get
good information from the LLTHROW() and LOG_UNHANDLED_EXCEPTION() mechanism.
But we didn't before have a test that actually exercises them. Now we do.
</content>
</entry>
<entry>
<title>MAINT-5011: Add llexception_test.cpp with tests (and conclusions).</title>
<updated>2016-08-17T14:45:06Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2016-08-17T14:45:06Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=1ed76c382e8b87bff02b6d37cf8acd7f6b1f8063'/>
<id>urn:sha1:1ed76c382e8b87bff02b6d37cf8acd7f6b1f8063</id>
<content type='text'>
llexception_test.cpp is an unusual test source in that it need not be verified
on every build, so its invocation in indra/llcommon/CMakeLists.txt is
commented out with that remark. Its purpose is to help a developer decide what
base class(es) to use for LLException, how to throw and how to catch.

Our current conclusions are written up as comments in llexception_test.cpp.

Added CRASH_ON_UNHANDLED_EXCEPTION() and LOG_UNHANDLED_EXCEPTION() macros to
llexception.h -- macros to log __FILE__, __LINE__ and __PRETTY_FUNCTION__ of
the catch site. These invoke functions in llexception.cpp so we don't need to
#include llerror.h for every possible catch site.
</content>
</entry>
</feed>
