Mercurial > projects > dwt-addons
comparison dwtx/jface/text/Assert.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 000f9136b8f7 |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
203 private static final long serialVersionUID= 3689918374733886002L; | 203 private static final long serialVersionUID= 3689918374733886002L; |
204 | 204 |
205 /** | 205 /** |
206 * Constructs a new exception. | 206 * Constructs a new exception. |
207 */ | 207 */ |
208 public AssertionFailedException() { | 208 public this() { |
209 } | 209 } |
210 | 210 |
211 /** | 211 /** |
212 * Constructs a new exception with the given message. | 212 * Constructs a new exception with the given message. |
213 * | 213 * |
214 * @param detail the detailed message | 214 * @param detail the detailed message |
215 */ | 215 */ |
216 public AssertionFailedException(String detail) { | 216 public this(String detail) { |
217 super(detail); | 217 super(detail); |
218 } | 218 } |
219 } | 219 } |
220 | 220 |
221 /* This class is not intended to be instantiated. */ | 221 /* This class is not intended to be instantiated. */ |
222 private Assert() { | 222 private this() { |
223 } | 223 } |
224 | 224 |
225 /** | 225 /** |
226 * Asserts that an argument is legal. If the given bool is | 226 * Asserts that an argument is legal. If the given bool is |
227 * not <code>true</code>, an <code>IllegalArgumentException</code> | 227 * not <code>true</code>, an <code>IllegalArgumentException</code> |