1 package org.opentrafficsim.core.geometry; 2 3 /** 4 * <p> 5 * Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 6 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. 7 * <p> 8 * $LastChangedDate: 2015-07-16 10:20:53 +0200 (Thu, 16 Jul 2015) $, @version $Revision: 1124 $, by $Author: pknoppers $, 9 * initial version Jul 22, 2015 <br> 10 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 11 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 12 */ 13 public class OTSGeometryException extends Exception 14 { 15 /** */ 16 private static final long serialVersionUID = 20150722L; 17 18 /** 19 * construct empty OTSGeometryException. 20 */ 21 public OTSGeometryException() 22 { 23 super(); 24 } 25 26 /** 27 * @param message message to display for this exception. 28 */ 29 public OTSGeometryException(final String message) 30 { 31 super(message); 32 } 33 34 /** 35 * @param cause the exception that triggered this exception. 36 */ 37 public OTSGeometryException(final Throwable cause) 38 { 39 super(cause); 40 } 41 42 /** 43 * @param message message to display for this exception. 44 * @param cause the exception that triggered this exception. 45 */ 46 public OTSGeometryException(final String message, final Throwable cause) 47 { 48 super(message, cause); 49 } 50 51 /** 52 * @param message message to display for this exception. 53 * @param cause the exception that triggered this exception. 54 * @param enableSuppression whether or not suppression is enabled or disabled 55 * @param writableStackTrace whether or not the stack trace should be writable 56 */ 57 public OTSGeometryException(final String message, final Throwable cause, final boolean enableSuppression, 58 final boolean writableStackTrace) 59 { 60 super(message, cause, enableSuppression, writableStackTrace); 61 } 62 }