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