fixed some formatting typos
[vimdoclet.git] / sample / java.lang.AssertionError.txt
blobec62aa81011707a72a0e8952f2885aeab6fbbbf2
1 *java.lang.AssertionError* *AssertionError* Thrown to indicate that an assertion
3 public class AssertionError
4   extends    |java.lang.Error|
6 |java.lang.AssertionError_Description|
7 |java.lang.AssertionError_Fields|
8 |java.lang.AssertionError_Constructors|
9 |java.lang.AssertionError_Methods|
11 ================================================================================
13 *java.lang.AssertionError_Constructors*
14 |java.lang.AssertionError()|Constructs an AssertionError with no detail message
15 |java.lang.AssertionError(boolean)|Constructs an AssertionError with its detail
16 |java.lang.AssertionError(char)|Constructs an AssertionError with its detail me
17 |java.lang.AssertionError(double)|Constructs an AssertionError with its detail 
18 |java.lang.AssertionError(float)|Constructs an AssertionError with its detail m
19 |java.lang.AssertionError(int)|Constructs an AssertionError with its detail mes
20 |java.lang.AssertionError(long)|Constructs an AssertionError with its detail me
21 |java.lang.AssertionError(Object)|Constructs an AssertionError with its detail 
23 *java.lang.AssertionError_Description*
25 Thrown to indicate that an assertion has failed. 
27 The seven one-argument public constructors provided by this class ensure that 
28 the assertion error returned by the invocation: 
30 new AssertionError(expression) 
32 has as its detail message the string conversion of expression (as defined in 
33 The Java Language Specification, Second Edition, 
35 Section 15.18.1.1), regardless of the type of expression. 
39 *java.lang.AssertionError()*
41 public AssertionError()
43 Constructs an AssertionError with no detail message. 
46 *java.lang.AssertionError(boolean)*
48 public AssertionError(boolean detailMessage)
50 Constructs an AssertionError with its detail message derived from the specified 
51 boolean, which is converted to a string as defined in The Java Language 
52 Specification, Second Edition, Section 15.18.1.1. 
54     detailMessage - value to be used in constructing detail message 
56 *java.lang.AssertionError(char)*
58 public AssertionError(char detailMessage)
60 Constructs an AssertionError with its detail message derived from the specified 
61 char, which is converted to a string as defined in The Java Language 
62 Specification, Second Edition, Section 15.18.1.1. 
64     detailMessage - value to be used in constructing detail message 
66 *java.lang.AssertionError(double)*
68 public AssertionError(double detailMessage)
70 Constructs an AssertionError with its detail message derived from the specified 
71 double, which is converted to a string as defined in The Java Language 
72 Specification, Second Edition, Section 15.18.1.1. 
74     detailMessage - value to be used in constructing detail message 
76 *java.lang.AssertionError(float)*
78 public AssertionError(float detailMessage)
80 Constructs an AssertionError with its detail message derived from the specified 
81 float, which is converted to a string as defined in The Java Language 
82 Specification, Second Edition, Section 15.18.1.1. 
84     detailMessage - value to be used in constructing detail message 
86 *java.lang.AssertionError(int)*
88 public AssertionError(int detailMessage)
90 Constructs an AssertionError with its detail message derived from the specified 
91 int, which is converted to a string as defined in The Java Language 
92 Specification, Second Edition, Section 15.18.1.1. 
94     detailMessage - value to be used in constructing detail message 
96 *java.lang.AssertionError(long)*
98 public AssertionError(long detailMessage)
100 Constructs an AssertionError with its detail message derived from the specified 
101 long, which is converted to a string as defined in The Java Language 
102 Specification, Second Edition, Section 15.18.1.1. 
104     detailMessage - value to be used in constructing detail message 
106 *java.lang.AssertionError(Object)*
108 public AssertionError(java.lang.Object detailMessage)
110 Constructs an AssertionError with its detail message derived from the specified 
111 object, which is converted to a string as defined in The Java Language 
112 Specification, Second Edition, Section 15.18.1.1. 
114 If the specified object is an instance of Throwable, it becomes the cause of 
115 the newly constructed assertion error. 
117     detailMessage - value to be used in constructing detail message