KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > maven > artifact > versioning > OverConstrainedVersionException


1 package org.apache.maven.artifact.versioning;
2
3 import org.apache.maven.artifact.Artifact;
4 import org.apache.maven.artifact.resolver.ArtifactResolutionException;
5
6 import java.util.List JavaDoc;
7
8 /*
9  * Copyright 2001-2005 The Apache Software Foundation.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */

23
24 /**
25  * Occurs when ranges exclude each other and no valid value remains.
26  *
27  * @author <a HREF="mailto:brett@apache.org">Brett Porter</a>
28  * @version $Id: OverConstrainedVersionException.java 307034 2005-10-07 06:44:59Z brett $
29  */

30 public class OverConstrainedVersionException
31     extends ArtifactResolutionException
32 {
33     public OverConstrainedVersionException( String JavaDoc msg, Artifact artifact )
34     {
35         super( msg, artifact );
36     }
37
38     public OverConstrainedVersionException( String JavaDoc msg, Artifact artifact, List JavaDoc remoteRepositories )
39     {
40         super( msg, artifact, remoteRepositories );
41     }
42
43 }
44
Popular Tags