From 35ed3a51e586f6439df733f283aa2107e82bd6bc Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Wed, 5 Nov 2014 06:17:27 -0500 Subject: [PATCH] initial version of InvalidScanPathException Former-commit-id: a1f909f4e3988ae2f5f00fe72033bfdd7ef89676 --- .../InvalidScanPathException.java | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 dependency-check-cli/src/main/java/org/owasp/dependencycheck/InvalidScanPathException.java diff --git a/dependency-check-cli/src/main/java/org/owasp/dependencycheck/InvalidScanPathException.java b/dependency-check-cli/src/main/java/org/owasp/dependencycheck/InvalidScanPathException.java new file mode 100644 index 000000000..af1ca76d6 --- /dev/null +++ b/dependency-check-cli/src/main/java/org/owasp/dependencycheck/InvalidScanPathException.java @@ -0,0 +1,59 @@ +/* + * Copyright 2014 OWASP. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.owasp.dependencycheck; + +/** + * Thrown if an invalid path is encountered. + * + * @author Jeremy Long + */ +class InvalidScanPathException extends Exception { + + /** + * Creates a new InvalidScanPathException. + */ + public InvalidScanPathException() { + super(); + } + + /** + * Creates a new InvalidScanPathException. + * + * @param msg a message for the exception + */ + public InvalidScanPathException(String msg) { + super(msg); + } + + /** + * Creates a new InvalidScanPathException. + * + * @param ex the cause of the exception + */ + public InvalidScanPathException(Throwable ex) { + super(ex); + } + + /** + * Creates a new InvalidScanPathException. + * + * @param msg a message for the exception + * @param ex the cause of the exception + */ + public InvalidScanPathException(String msg, Throwable ex) { + super(msg, ex); + } +}