Coverage Report - org.owasp.dependencycheck.utils.InvalidSettingException
 
Classes in this File Line Coverage Branch Coverage Complexity
InvalidSettingException
25%
2/8
N/A
1
 
 1  
 /*
 2  
  * This file is part of dependency-check-core.
 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) 2012 Jeremy Long. All Rights Reserved.
 17  
  */
 18  
 package org.owasp.dependencycheck.utils;
 19  
 
 20  
 import java.io.IOException;
 21  
 
 22  
 /**
 23  
  * An exception used when an error occurs reading a setting.
 24  
  *
 25  
  * @author Jeremy Long
 26  
  */
 27  
 public class InvalidSettingException extends IOException {
 28  
 
 29  
     /**
 30  
      * The serial version UID.
 31  
      */
 32  
     private static final long serialVersionUID = 1L;
 33  
 
 34  
     /**
 35  
      * Creates a new InvalidSettingException.
 36  
      */
 37  
     public InvalidSettingException() {
 38  0
         super();
 39  0
     }
 40  
 
 41  
     /**
 42  
      * Creates a new InvalidSettingException.
 43  
      *
 44  
      * @param msg a message for the exception.
 45  
      */
 46  
     public InvalidSettingException(String msg) {
 47  1
         super(msg);
 48  1
     }
 49  
 
 50  
     /**
 51  
      * Creates a new InvalidSettingException.
 52  
      *
 53  
      * @param ex the cause of the setting exception.
 54  
      */
 55  
     public InvalidSettingException(Throwable ex) {
 56  0
         super(ex);
 57  0
     }
 58  
 
 59  
     /**
 60  
      * Creates a new InvalidSettingException.
 61  
      *
 62  
      * @param msg a message for the exception.
 63  
      * @param ex the cause of the setting exception.
 64  
      */
 65  
     public InvalidSettingException(String msg, Throwable ex) {
 66  0
         super(msg, ex);
 67  0
     }
 68  
 }