1 package org.djunits.unit; 2 3 /** 4 * Exceptions in Unit package. 5 * <p> 6 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 7 * BSD-style license. See <a href="http://djunits.org/docs/license.html">DJUNITS License</a>. 8 * <p> 9 * $LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $, 10 * initial version Jun 18, 2014 <br> 11 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 12 */ 13 public class UnitException extends Exception 14 { 15 16 /** */ 17 private static final long serialVersionUID = 20140618L; 18 19 /** 20 * 21 */ 22 public UnitException() 23 { 24 super(); 25 } 26 27 /** 28 * @param message String; String 29 * @param cause Throwable; Throwable 30 * @param enableSuppression boolean;am 31 * @param writableStackTrace boolean; boolean 32 */ 33 public UnitException(final String message, final Throwable cause, final boolean enableSuppression, 34 final boolean writableStackTrace) 35 { 36 super(message, cause, enableSuppression, writableStackTrace); 37 } 38 39 /** 40 * @param message String; String 41 * @param cause Throwable; Throwable 42 */ 43 public UnitException(final String message, final Throwable cause) 44 { 45 super(message, cause); 46 } 47 48 /** 49 * @param message String; String 50 */ 51 public UnitException(final String message) 52 { 53 super(message); 54 } 55 56 /** 57 * @param cause Throwable; Throwable 58 */ 59 public UnitException(final Throwable cause) 60 { 61 super(cause); 62 } 63 64 }