Class AssertionFailedException

 1  
 2  
 3 /*
 4  * Copyright (c) 2016 Vivid Solutions.
 5  *
 6  * All rights reserved. This program and the accompanying materials
 7  * are made available under the terms of the Eclipse Public License 2.0
 8  * and Eclipse Distribution License v. 1.0 which accompanies this distribution.
 9  * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v20.html
10  * and the Eclipse Distribution License is available at
11  *
12  * http://www.eclipse.org/org/documents/edl-v10.php.
13  */
14 package org.locationtech.jts.util;
15  
16 /**
17  *  Thrown when the application is in an inconsistent state. Indicates a problem
18  *  with the code.
19  *
20  *@version 1.7
21  */
22 public class AssertionFailedException extends RuntimeException {
23  
24   /**
25    *  Creates an <code>AssertionFailedException</code>.
26    */
27   public AssertionFailedException() {
28     super();
29   }
30  
31   /**
32    *  Creates a <code>AssertionFailedException</code> with the given detail
33    *  message.
34    *
35    *@param  message  a description of the assertion
36    */
37   public AssertionFailedException(String message) {
38     super(message);
39   }
40 }
41  
42  
43