View Javadoc
1   /*
2    * This file is part of dependency-check-cli.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   * Copyright (c) 2014 Jeremy Long. All Rights Reserved.
17   */
18  package org.owasp.dependencycheck;
19  
20  /**
21   * Thrown if an invalid path is encountered.
22   *
23   * @author Jeremy Long
24   */
25  class InvalidScanPathException extends Exception {
26  
27      /**
28       * Creates a new InvalidScanPathException.
29       */
30      public InvalidScanPathException() {
31          super();
32      }
33  
34      /**
35       * Creates a new InvalidScanPathException.
36       *
37       * @param msg a message for the exception
38       */
39      public InvalidScanPathException(String msg) {
40          super(msg);
41      }
42  
43      /**
44       * Creates a new InvalidScanPathException.
45       *
46       * @param ex the cause of the exception
47       */
48      public InvalidScanPathException(Throwable ex) {
49          super(ex);
50      }
51  
52      /**
53       * Creates a new InvalidScanPathException.
54       *
55       * @param msg a message for the exception
56       * @param ex the cause of the exception
57       */
58      public InvalidScanPathException(String msg, Throwable ex) {
59          super(msg, ex);
60      }
61  }