/[classpath]/classpath/java/lang/AssertionError.java
ViewVC logotype

Diff of /classpath/java/lang/AssertionError.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by ericb, Sun Feb 24 04:25:16 2002 UTC revision 1.3 by mark, Sun Jul 14 20:00:08 2002 UTC
# Line 42  package java.lang; Line 42  package java.lang;
42   * An assertion error normally occurs as a result of the <code>assert</code>   * An assertion error normally occurs as a result of the <code>assert</code>
43   * statement added in JDK 1.4, to indicate that an assertion failed. There   * statement added in JDK 1.4, to indicate that an assertion failed. There
44   * are enough constructors to ensure that   * are enough constructors to ensure that
45   * <code>new AssertionError(<em>expression</em)</code> will work for all   * <code>new AssertionError(<em>expression</em>)</code> will work for all
46   * espressions, regardless of type, as if the error message were given by   * espressions, regardless of type, as if the error message were given by
47   * the string <code>"" + <em>expression</em></code>. This extends Error,   * the string <code>"" + <em>expression</em></code>. This extends Error,
48   * because you usually do not want to inadvertently trap an assertion failure.   * because you usually do not want to inadvertently trap an assertion failure.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26