/[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.3.2.1 by gnu_andrew, Sat Feb 19 10:50:35 2005 UTC revision 1.3.2.2 by gnu_andrew, Sun Apr 3 00:09:10 2005 UTC
# Line 43  package java.lang; Line 43  package java.lang;
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   * expressions, 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.
49   *   *

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.3.2.2

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