1 package org.sapia.validator;2 3 4 /**5 * @author Yanick Duchesne6 * <dl>7 * <dt><b>Copyright:</b><dd>Copyright © 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>8 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the9 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>10 * </dl>11 */12 public class ValidationException extends Exception {13 private String _id;14 15 /**16 * Constructor for ValidationException.17 */18 ValidationException(String msg, String id) {19 super(msg);20 _id = id;21 }22 23 String getId() {24 return _id;25 }26 }27