+
+1/*
+2 * This file is part of dependency-check-core.
+3 *
+4 * Dependency-check-core is free software: you can redistribute it and/or modify it
+5 * under the terms of the GNU General Public License as published by the Free
+6 * Software Foundation, either version 3 of the License, or (at your option) any
+7 * later version.
+8 *
+9 * Dependency-check-core is distributed in the hope that it will be useful, but
+10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+12 * details.
+13 *
+14 * You should have received a copy of the GNU General Public License along with
+15 * dependency-check-core. If not, see http://www.gnu.org/licenses/.
+16 *
+17 * Copyright (c) 2013 Jeremy Long. All Rights Reserved.
+18 */
+19package org.owasp.dependencycheck.analyzer;
+20
+21/**
+22 * An exception thrown when the analysis of a dependency fails.
+23 *
+24 * @author Jeremy Long (jeremy.long@owasp.org)
+25 */
+26publicclassArchiveExtractionExceptionextends Exception {
+27
+28/**
+29 * The serial version UID for serialization.
+30 */
+31privatestaticfinallong serialVersionUID = 1L;
+32
+33/**
+34 * Creates a new AnalysisException.
+35 */
+36publicArchiveExtractionException() {
+37super();
+38 }
+39
+40/**
+41 * Creates a new AnalysisException.
+42 *
+43 * @param msg a message for the exception.
+44 */
+45publicArchiveExtractionException(String msg) {
+46super(msg);
+47 }
+48
+49/**
+50 * Creates a new AnalysisException.
+51 *
+52 * @param ex the cause of the failure.
+53 */
+54publicArchiveExtractionException(Throwable ex) {
+55super(ex);
+56 }
+57
+58/**
+59 * Creates a new DownloadFailedException.
+60 *
+61 * @param msg a message for the exception.
+62 * @param ex the cause of the failure.
+63 */
+64publicArchiveExtractionException(String msg, Throwable ex) {
+65super(msg, ex);
+66 }
+67 }
+
+
+1/*
+2 * This file is part of dependency-check-core.
+3 *
+4 * Dependency-check-core is free software: you can redistribute it and/or modify it
+5 * under the terms of the GNU General Public License as published by the Free
+6 * Software Foundation, either version 3 of the License, or (at your option) any
+7 * later version.
+8 *
+9 * Dependency-check-core is distributed in the hope that it will be useful, but
+10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+12 * details.
+13 *
+14 * You should have received a copy of the GNU General Public License along with
+15 * dependency-check-core. If not, see http://www.gnu.org/licenses/.
+16 *
+17 * Copyright (c) 2013 Jeremy Long. All Rights Reserved.
+18 */
+19package org.owasp.dependencycheck.data;
+20
+21import java.io.IOException;
+22
+23/**
+24 * An exception used when the data needed does not exist to perform analysis.
+25 *
+26 * @author Jeremy Long (jeremy.long@owasp.org)
+27 */
+28publicclassNoDataExceptionextends IOException {
+29
+30/**
+31 * The serial version uid.
+32 */
+33privatestaticfinallong serialVersionUID = 1L;
+34
+35/**
+36 * Creates a new NoDataException.
+37 */
+38publicNoDataException() {
+39super();
+40 }
+41
+42/**
+43 * Creates a new NoDataException.
+44 *
+45 * @param msg a message for the exception.
+46 */
+47publicNoDataException(String msg) {
+48super(msg);
+49 }
+50
+51/**
+52 * Creates a new NoDataException.
+53 *
+54 * @param ex the cause of the exception.
+55 */
+56publicNoDataException(Throwable ex) {
+57super(ex);
+58 }
+59
+60/**
+61 * Creates a new NoDataException.
+62 *
+63 * @param msg a message for the exception.
+64 * @param ex the cause of the exception.
+65 */
+66publicNoDataException(String msg, Throwable ex) {
+67super(msg, ex);
+68 }
+69 }
+