1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.core.runtime; 12 13 /** 14 * <code>AssertionFailedException</code> is a runtime exception thrown 15 * by some of the methods in <code>Assert</code>. 16 * <p> 17 * This class can be used without OSGi running. 18 * </p><p> 19 * This class is not intended to be instantiated or sub-classed by clients. 20 * </p> 21 * @see Assert 22 * @since org.eclipse.equinox.common 3.2 23 */ 24 public class AssertionFailedException extends RuntimeException { 25 26 /** 27 * All serializable objects should have a stable serialVersionUID 28 */ 29 private static final long serialVersionUID = 1L; 30 31 /** 32 * Constructs a new exception with the given message. 33 * 34 * @param detail the message 35 */ 36 public AssertionFailedException(String detail) { 37 super(detail); 38 } 39 } 40