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 |
* |
* |