Coverage Report - org.owasp.dependencycheck.xml.pom.PomParseException
 
Classes in this File Line Coverage Branch Coverage Complexity
PomParseException
0%
0/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) 2015 Jeremy Long. All Rights Reserved.
 17  
  */
 18  
 package org.owasp.dependencycheck.xml.pom;
 19  
 
 20  
 import org.owasp.dependencycheck.suppression.*;
 21  
 import java.io.IOException;
 22  
 
 23  
 /**
 24  
  * An exception used when parsing a suppression rule file fails.
 25  
  *
 26  
  * @author Jeremy Long
 27  
  */
 28  
 public class PomParseException extends IOException {
 29  
 
 30  
     /**
 31  
      * Creates a new SuppressionParseException.
 32  
      */
 33  
     public PomParseException() {
 34  0
         super();
 35  0
     }
 36  
 
 37  
     /**
 38  
      * Creates a new SuppressionParseException.
 39  
      *
 40  
      * @param msg a message for the exception.
 41  
      */
 42  
     public PomParseException(String msg) {
 43  0
         super(msg);
 44  0
     }
 45  
 
 46  
     /**
 47  
      * Creates a new SuppressionParseException.
 48  
      *
 49  
      * @param ex the cause of the parse exception
 50  
      */
 51  
     public PomParseException(Throwable ex) {
 52  0
         super(ex);
 53  0
     }
 54  
 
 55  
     /**
 56  
      * Creates a new SuppressionParseException.
 57  
      *
 58  
      * @param msg a message for the exception.
 59  
      * @param ex the cause of the parse exception
 60  
      */
 61  
     public PomParseException(String msg, Throwable ex) {
 62  0
         super(msg, ex);
 63  0
     }
 64  
 }