1 package org.djutils.cli;
2
3 /**
4 * CliException for exceptions of the CommandLine Interpreter. <br>
5 * <br>
6 * Copyright (c) 2018-2025 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 * Standard CliException without explanation.
19 */
20 public CliException()
21 {
22 super();
23 }
24
25 /**
26 * @param message the description of the exception
27 */
28 public CliException(final String message)
29 {
30 super(message);
31 }
32
33 /**
34 * @param cause the cause of the exception
35 */
36 public CliException(final Throwable cause)
37 {
38 super(cause);
39 }
40
41 /**
42 * @param message the description of the exception
43 * @param cause the cause of the exception
44 */
45 public CliException(final String message, final Throwable cause)
46 {
47 super(message, cause);
48 }
49 }