You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gh...@apache.org on 2006/05/15 13:46:15 UTC
svn commit: r406618 - in /incubator/harmony/standard/site:
docs/subcomponents/classlibrary/compat.html
xdocs/subcomponents/classlibrary/compat.xml
Author: gharley
Date: Mon May 15 04:46:11 2006
New Revision: 406618
URL: http://svn.apache.org/viewcvs?rev=406618&view=rev
Log:
Minor clarification to exception compatibility guidelines based on mailing list discussion.
Modified:
incubator/harmony/standard/site/docs/subcomponents/classlibrary/compat.html
incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/compat.xml
Modified: incubator/harmony/standard/site/docs/subcomponents/classlibrary/compat.html
URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/docs/subcomponents/classlibrary/compat.html?rev=406618&r1=406617&r2=406618&view=diff
==============================================================================
--- incubator/harmony/standard/site/docs/subcomponents/classlibrary/compat.html (original)
+++ incubator/harmony/standard/site/docs/subcomponents/classlibrary/compat.html Mon May 15 04:46:11 2006
@@ -322,8 +322,8 @@
Harmony
<b>classlib</b> developers write test cases that deliberately cause exceptions to be thrown
so that we can match exception behaviour like-for-like. Harmony class library code should
- throw exceptions of the same type as the RI, other than in cases where the RI throws non-public
- types whereupon Harmony will throw an exception with the same public supertype.
+ throw exceptions of the same runtime class (or a subtype of that runtime class) as the RI, other than
+ in cases where the RI throws non-public types whereupon Harmony will throw an exception with the same public supertype.
</p>
</blockquote>
</td></tr>
Modified: incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/compat.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/compat.xml?rev=406618&r1=406617&r2=406618&view=diff
==============================================================================
--- incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/compat.xml (original)
+++ incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/compat.xml Mon May 15 04:46:11 2006
@@ -125,8 +125,8 @@
Harmony
<b>classlib</b> developers write test cases that deliberately cause exceptions to be thrown
so that we can match exception behaviour like-for-like. Harmony class library code should
- throw exceptions of the same type as the RI, other than in cases where the RI throws non-public
- types whereupon Harmony will throw an exception with the same public supertype.
+ throw exceptions of the same runtime class (or a subtype of that runtime class) as the RI, other than
+ in cases where the RI throws non-public types whereupon Harmony will throw an exception with the same public supertype.
</p>
</subsection>