1 /*******************************************************************************
2 * Copyright (c) 2015 LegSem.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser Public License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7 *
8 * Contributors:
9 * LegSem - initial API and implementation
10 ******************************************************************************/
11 package com.legstar.codegen;
12
13 /**
14 * Exception related to syntax errors or execution errors using cixsmake.
15 */
16 public class CodeGenMakeException extends Exception {
17
18 /** Unique serial ID. */
19 private static final long serialVersionUID = 6490029804547733908L;
20
21 /**
22 * Build Exception from message.
23 * @param message exception description
24 */
25 public CodeGenMakeException(final String message) {
26 super(message);
27 }
28
29 /**
30 * Build Exception from inner exception.
31 * @param e the inner exception
32 */
33 public CodeGenMakeException(final Exception e) {
34 super(e);
35 }
36 }
37