| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AssertionFailedException |
|
| 1.0;1 |
| 1 | /******************************************************************************* | |
| 2 | * Copyright (c) 2000, 2008 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.swtbot.swt.finder.exceptions; | |
| 12 | ||
| 13 | /** | |
| 14 | * Copy of {@link org.eclipse.core.runtime.AssertionFailedException}, moved here to reduce dependency on | |
| 15 | * org.eclipse.equinox.common. | |
| 16 | * | |
| 17 | * @noextend This class is not intended to be subclassed by clients. | |
| 18 | * @noinstantiate This class is not intended to be instantiated by clients. | |
| 19 | */ | |
| 20 | public class AssertionFailedException extends RuntimeException { | |
| 21 | ||
| 22 | /** | |
| 23 | * All serializable objects should have a stable serialVersionUID | |
| 24 | */ | |
| 25 | private static final long serialVersionUID = 1L; | |
| 26 | ||
| 27 | /** | |
| 28 | * Constructs a new exception with the given message. | |
| 29 | * | |
| 30 | * @param detail the message | |
| 31 | */ | |
| 32 | public AssertionFailedException(String detail) { | |
| 33 | 5 | super(detail); |
| 34 | 5 | } |
| 35 | } |