View Javadoc
1 /* 2 * PROJECT : DAR Runtime and Tools 3 * COPYRIGHT : Copyright (C) 1999-2004 tim.stephenson@enableit.org 4 * LICENSE : GNU LESSER GENERAL PUBLIC LICENSE 5 * Version 2.1, February 1999 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 */ 21 package org.enableit.db.darrt; 22 23 import java.util.ArrayList; 24 import java.util.List; 25 26 27 /*** 28 * General exception for use by this library's classes 29 * when communicating exceptions. 30 * 31 * @version v1.0 32 * 33 * @author __AUTHOR__ 34 * 35 */ 36 public class DarHandlingException extends SchemaHandlingException { 37 private List errorSets; 38 39 /*** 40 * Default constructor. 41 */ 42 public DarHandlingException() { 43 super(); 44 errorSets = new ArrayList(); 45 } 46 47 /*** 48 * Constructor setting message only. 49 */ 50 public DarHandlingException(String msg) { 51 super(msg); 52 errorSets = new ArrayList(); 53 } 54 55 /*** 56 * Constructor setting message and cause. 57 */ 58 public DarHandlingException(String msg, Throwable rootCause) { 59 super(msg, rootCause); 60 errorSets = new ArrayList(); 61 } 62 63 /*** 64 * Constructor 65 */ 66 public DarHandlingException(List errorSets) { 67 super(); 68 this.errorSets = errorSets; 69 } 70 71 /*** 72 * @return 73 */ 74 public List getErrorSets() { 75 return errorSets; 76 } 77 }

This page was automatically generated by Maven