Home | History | Annotate | Download | only in check
      1 /*******************************************************************************
      2  * Copyright (c) 2011 Google, Inc.
      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  *    Google, Inc. - initial API and implementation
     10  *******************************************************************************/
     11 package org.eclipse.wb.internal.core.utils.check;
     12 
     13 /**
     14  * <code>AssertionFailedException</code> is a runtime exception thrown by some of the methods in
     15  * <code>Assert</code>.
     16  *
     17  * @author scheglov_ke
     18  * @coverage core.util
     19  */
     20 public final class AssertionFailedException extends RuntimeException {
     21   private static final long serialVersionUID = 0L;
     22 
     23   ////////////////////////////////////////////////////////////////////////////
     24   //
     25   // Constructor
     26   //
     27   ////////////////////////////////////////////////////////////////////////////
     28   /**
     29    * Constructs a new exception with the given message.
     30    *
     31    * @param detail
     32    *          the message
     33    */
     34   public AssertionFailedException(String detail) {
     35     super(detail);
     36   }
     37 }
     38