OTSDrawingException.java

  1. package org.opentrafficsim.draw.core;

  2. /**
  3.  * OTSDrawingException . <br>
  4.  * <br>
  5.  * Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
  6.  * for project information <a href="https://www.simulation.tudelft.nl/" target="_blank">www.simulation.tudelft.nl</a>. The
  7.  * source code and binary code of this software is proprietary information of Delft University of Technology.
  8.  * @author <a href="https://www.tudelft.nl/averbraeck" target="_blank">Alexander Verbraeck</a>
  9.  */
  10. public class OTSDrawingException extends Exception
  11. {
  12.     /** */
  13.     private static final long serialVersionUID = 1L;

  14.     /** */
  15.     public OTSDrawingException()
  16.     {
  17.         //
  18.     }

  19.     /**
  20.      * @param message String; the error message
  21.      */
  22.     public OTSDrawingException(final String message)
  23.     {
  24.         super(message);
  25.     }

  26.     /**
  27.      * @param cause Throwable; the cause of the exception to be included
  28.      */
  29.     public OTSDrawingException(final Throwable cause)
  30.     {
  31.         super(cause);
  32.     }

  33.     /**
  34.      * @param message String; the error message
  35.      * @param cause Throwable; the cause of the exception to be included
  36.      */
  37.     public OTSDrawingException(final String message, final Throwable cause)
  38.     {
  39.         super(message, cause);
  40.     }
  41. }