git clone of logicmail with some fixes/features added
at master 40 lines 1.4 kB view raw
1//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2// This file is part of J2MEUnit, a Java 2 Micro Edition unit testing framework. 3// 4// J2MEUnit is free software distributed under the Common Public License (CPL). 5// It may be redistributed and/or modified under the terms of the CPL. You 6// should have received a copy of the license along with J2MEUnit. It is also 7// available from the website of the Open Source Initiative at 8// http://www.opensource.org. 9// 10// J2MEUnit is distributed in the hope that it will be useful, but WITHOUT ANY 11// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12// FOR A PARTICULAR PURPOSE. 13//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 14 15package j2meunit.framework; 16 17/******************************************************************** 18 * Thrown when an assertion failed. 19 */ 20public class AssertionFailedError extends Error 21{ 22 //~ Constructors ----------------------------------------------------------- 23 24 /*************************************** 25 * Creates a new AssertionFailedError object. 26 */ 27 public AssertionFailedError() 28 { 29 } 30 31 /*************************************** 32 * Creates a new AssertionFailedError object. 33 * 34 * @param message The error message 35 */ 36 public AssertionFailedError(String message) 37 { 38 super(message); 39 } 40}