<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.erights.org/mediawiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Sealed throw - Revision history</title>
		<link>http://wiki.erights.org/mediawiki/index.php?title=Sealed_throw&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-7</generator>
		<lastBuildDate>Sat, 25 Apr 2026 10:28:48 GMT</lastBuildDate>
		<item>
			<title>Kevin Reid:&amp;#32;dump into design issues</title>
			<link>http://wiki.erights.org/mediawiki/index.php?title=Sealed_throw&amp;diff=2054&amp;oldid=prev</link>
			<guid>http://wiki.erights.org/mediawiki/index.php?title=Sealed_throw&amp;diff=2054&amp;oldid=prev</guid>
			<description>&lt;p&gt;dump into design issues&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page needs to be written. Here's a recent summary from e-lang:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; Just the general issue of error messages leaking information. I'm a bit&lt;br /&gt;
 &amp;gt; concerned about ex.eStack() showing the arguments too, though it's&lt;br /&gt;
 &amp;gt; certainly useful.&lt;br /&gt;
 &lt;br /&gt;
 eStack has enough information that you're utterly doomed.&lt;br /&gt;
 &lt;br /&gt;
 Unfortunately there isn't a design issue page for it on the wiki, but  &lt;br /&gt;
 the solution is that *every* throw()n exception object, or  &lt;br /&gt;
 equivalently exception object you get from a catch block, is sealed.&lt;br /&gt;
 &lt;br /&gt;
 Besides the debugging information, the throw-catch itself is  &lt;br /&gt;
 *dynamically scoped* and therefore does not follow capability  &lt;br /&gt;
 semantics; so we seal the information so that the only information a  &lt;br /&gt;
 catch give is 'unexpected failure within'.&lt;br /&gt;
 &lt;br /&gt;
 Only that with debugging access can see either the message or the  &lt;br /&gt;
 eStack. Of course the REPL will automatically do that.&lt;br /&gt;
 &lt;br /&gt;
 E-on-CL contains a partial implementation of these semantics.  &lt;br /&gt;
 Unfortunately, there's no formal writeup of the whole thing that I  &lt;br /&gt;
 know of, but there's [http://www.google.com/search?q=site:eros-os.org+sealed+exceptions some discussion in the mailing list archives.]&lt;br /&gt;
 &lt;br /&gt;
 If you'd like to help implement these semantics, please do -- it's one  &lt;br /&gt;
 of the big security problems currently in E-on-Java for untrusted-code  &lt;br /&gt;
 purposes, and one of the things that needs additional design work and  &lt;br /&gt;
 experience with Real Applications which need to do things like logging  &lt;br /&gt;
 errors.&lt;br /&gt;
 &lt;br /&gt;
 —[[User:Kevin Reid|Kevin Reid]] 10:48, 13 April 2010 (CDT)&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;br /&gt;
[[Category:Unresolved design issues]]&lt;/div&gt;</description>
			<pubDate>Tue, 26 Oct 2010 22:02:22 GMT</pubDate>			<dc:creator>Kevin Reid</dc:creator>			<comments>http://wiki.erights.org/wiki/Talk:Sealed_throw</comments>		</item>
		<item>
			<title>Kevin Reid:&amp;#32;add stub info</title>
			<link>http://wiki.erights.org/mediawiki/index.php?title=Sealed_throw&amp;diff=4302&amp;oldid=prev</link>
			<guid>http://wiki.erights.org/mediawiki/index.php?title=Sealed_throw&amp;diff=4302&amp;oldid=prev</guid>
			<description>&lt;p&gt;add stub info&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:48, 13 April 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{stub}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{stub}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Unresolved design issues]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-25 10:28:48 --&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 13 Apr 2010 15:48:34 GMT</pubDate>			<dc:creator>Kevin Reid</dc:creator>			<comments>http://wiki.erights.org/wiki/Talk:Sealed_throw</comments>		</item>
	</channel>
</rss>