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.coxb.impl.reflect; 12 13 import com.legstar.coxb.host.HostException; 14 15 /** 16 * Binding exceptions occuring while reflecting on JAXB 17 * object trees. 18 * 19 * @author Fady Moussallam 20 * 21 */ 22 public class ReflectBindingException extends HostException { 23 24 /** Default serial ID. */ 25 private static final long serialVersionUID = -7101323396024630663L; 26 /** 27 * Constructor from an error message. 28 * @param message the text message 29 * */ 30 public ReflectBindingException(final String message) { 31 super(message); 32 } 33 /** 34 * Constructor from an inner exception. 35 * @param e the inner exception 36 * */ 37 public ReflectBindingException(final Exception e) { 38 super(e); 39 } 40 41 }