| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BuildException |
|
| 1.0;1 |
| 1 | /* | |
| 2 | Copyright (C) 2007 Grid Systems, S.A. | |
| 3 | ||
| 4 | This library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | This library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with this library; if not, write to the Free Software | |
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | */ | |
| 18 | package nextgrid.api.builder; | |
| 19 | ||
| 20 | /** | |
| 21 | * Exceptions thrown during process building. | |
| 22 | * | |
| 23 | * @author Rodrigo Ruiz | |
| 24 | */ | |
| 25 | public class BuildException extends Exception { | |
| 26 | ||
| 27 | /** | |
| 28 | * <code>serialVersionUID</code> attribute. | |
| 29 | */ | |
| 30 | private static final long serialVersionUID = -3797574619840192900L; | |
| 31 | ||
| 32 | /** | |
| 33 | * Creates a new instance. | |
| 34 | * | |
| 35 | * @param message Error message | |
| 36 | */ | |
| 37 | public BuildException(String message) { | |
| 38 | 0 | super(message); |
| 39 | 0 | } |
| 40 | ||
| 41 | /** | |
| 42 | * Creates a new instance. | |
| 43 | * | |
| 44 | * @param message Error message | |
| 45 | * @param cause Source exception | |
| 46 | */ | |
| 47 | public BuildException(String message, Throwable cause) { | |
| 48 | 0 | super(message, cause); |
| 49 | 0 | } |
| 50 | ||
| 51 | /** | |
| 52 | * Creates a new instance. | |
| 53 | * | |
| 54 | * @param cause Source exception | |
| 55 | */ | |
| 56 | public BuildException(Throwable cause) { | |
| 57 | 0 | super(cause); |
| 58 | 0 | } |
| 59 | ||
| 60 | } |