comparison org.eclipse.equinox.common/src/org/eclipse/core/runtime/AssertionFailedException.d @ 105:bbe49769ec18

...
author Frank Benoit <benoit@tionex.de>
date Sun, 08 Nov 2009 12:42:30 +0100
parents bc29606a740c
children
comparison
equal deleted inserted replaced
104:88652073d1c2 105:bbe49769ec18
2 * Copyright (c) 2000, 2008 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
8 * Contributors: 8 * Contributors:
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 10 *******************************************************************************/
13 module org.eclipse.core.runtime.AssertionFailedException; 11 // Port to the D programming language:
12 // Frank Benoit <benoit@tionex.de>
13 module org.eclipse.core.runtimeAssertionFailedException;
14 14
15 import java.lang.all; 15 import java.lang.all;
16 version(JIVE) import jive.stacktrace; 16
17 17
18 /** 18 /**
19 * <code>AssertionFailedException</code> is a runtime exception thrown 19 * <code>AssertionFailedException</code> is a runtime exception thrown
20 * by some of the methods in <code>Assert</code>. 20 * by some of the methods in <code>Assert</code>.
21 * <p> 21 * <p>
33 /** 33 /**
34 * All serializable objects should have a stable serialVersionUID 34 * All serializable objects should have a stable serialVersionUID
35 */ 35 */
36 private static final long serialVersionUID = 1L; 36 private static final long serialVersionUID = 1L;
37 37
38 /** 38 /**
39 * Constructs a new exception with the given message. 39 * Constructs a new exception with the given message.
40 * 40 *
41 * @param detail the message 41 * @param detail the message
42 */ 42 */
43 public this(String detail) { 43 public this(String detail) {
44 super(detail); 44 super(detail);
45 } 45 }