View Javadoc
1   package org.djutils.cli;
2   
3   /**
4    * CliException for exceptions of the CommandLine Interpreter. <br>
5    * <br>
6    * Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
7    * for project information <a href="https://www.simulation.tudelft.nl/" target="_blank">www.simulation.tudelft.nl</a>. The
8    * source code and binary code of this software is proprietary information of Delft University of Technology.
9    * @author <a href="https://www.tudelft.nl/averbraeck" target="_blank">Alexander Verbraeck</a>
10   */
11  public class CliException extends Exception
12  {
13  
14      /** */
15      private static final long serialVersionUID = 20190813L;
16  
17      /**
18       * @param message String; the description of the exception
19       */
20      public CliException(final String message)
21      {
22          super(message);
23      }
24  
25      /**
26       * @param cause Throwable; the cause of the exception
27       */
28      public CliException(final Throwable cause)
29      {
30          super(cause);
31      }
32  
33      /**
34       * @param message String; the description of the exception
35       * @param cause Throwable; the cause of the exception
36       */
37      public CliException(final String message, final Throwable cause)
38      {
39          super(message, cause);
40      }
41  }