1 package org.opentrafficsim.core.network; 2 3 /** 4 * Exception thrown when network topology is inconsistent. 5 * <p> 6 * Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 7 * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>. 8 * <p> 9 * @version Aug 22, 2014 <br> 10 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 11 * @author <a href="http://Hansvanlint.weblog.tudelft.nl">Hans van Lint</a> 12 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 13 * @author <a href="http://www.citg.tudelft.nl">Guus Tamminga</a> 14 * @author <a href="http://www.citg.tudelft.nl">Yufei Yuan</a> 15 */ 16 public class NetworkException extends Exception 17 { 18 19 /** */ 20 private static final long serialVersionUID = 20140822L; 21 22 /** 23 * 24 */ 25 public NetworkException() 26 { 27 } 28 29 /** 30 * @param message String 31 */ 32 public NetworkException(final String message) 33 { 34 super(message); 35 } 36 37 /** 38 * @param cause Throwable 39 */ 40 public NetworkException(final Throwable cause) 41 { 42 super(cause); 43 } 44 45 /** 46 * @param message String 47 * @param cause Throwable 48 */ 49 public NetworkException(final String message, final Throwable cause) 50 { 51 super(message, cause); 52 } 53 54 /** 55 * @param message String; description of the problem 56 * @param cause Throwable; the cause of this ValueException 57 * @param enableSuppression boolean; whether or not suppression is enabled or disabled 58 * @param writableStackTrace boolean; whether or not the stack trace should be writable 59 */ 60 public NetworkException(final String message, final Throwable cause, final boolean enableSuppression, 61 final boolean writableStackTrace) 62 { 63 super(message, cause, enableSuppression, writableStackTrace); 64 } 65 66 }