Coverage Report - org.apache.maven.project.DuplicateProjectException
 
Classes in this File Line Coverage Branch Coverage Complexity
DuplicateProjectException
50 %
2/4
N/A
1
 
 1  
 package org.apache.maven.project;
 2  
 
 3  
 
 4  
 /*
 5  
  * Licensed to the Apache Software Foundation (ASF) under one
 6  
  * or more contributor license agreements.  See the NOTICE file
 7  
  * distributed with this work for additional information
 8  
  * regarding copyright ownership.  The ASF licenses this file
 9  
  * to you under the Apache License, Version 2.0 (the
 10  
  * "License"); you may not use this file except in compliance
 11  
  * with the License.  You may obtain a copy of the License at
 12  
  *
 13  
  *  http://www.apache.org/licenses/LICENSE-2.0
 14  
  *
 15  
  * Unless required by applicable law or agreed to in writing,
 16  
  * software distributed under the License is distributed on an
 17  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 18  
  * KIND, either express or implied.  See the License for the
 19  
  * specific language governing permissions and limitations
 20  
  * under the License.
 21  
  */
 22  
 
 23  
 /**
 24  
  * Exception that occurs when the project list contains duplicate projects instead of ignoring one.
 25  
  * 
 26  
  * @author <a href="mailto:brett@apache.org">Brett Porter</a>
 27  
  * @version $Id: DuplicateProjectException.java 640549 2008-03-24 20:05:11Z bentmann $
 28  
  */
 29  
 public class DuplicateProjectException
 30  
     extends Exception
 31  
 {
 32  
     public DuplicateProjectException( String message )
 33  
     {
 34  2
         super( message );
 35  2
     }
 36  
     
 37  
     public DuplicateProjectException( String message, Exception e )
 38  
     {
 39  0
         super( message, e );
 40  0
     }
 41  
 }