org.apache.maven.artifact.versioning
Class OverConstrainedVersionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
              extended by org.apache.maven.artifact.resolver.ArtifactResolutionException
                  extended by org.apache.maven.artifact.versioning.OverConstrainedVersionException
All Implemented Interfaces:
Serializable

public class OverConstrainedVersionException
extends ArtifactResolutionException

Occurs when ranges exclude each other and no valid value remains.

Author:
Brett Porter
See Also:
Serialized Form

Constructor Summary
OverConstrainedVersionException(String msg, Artifact artifact)
           
OverConstrainedVersionException(String msg, Artifact artifact, List<ArtifactRepository> remoteRepositories)
           
 
Method Summary
 
Methods inherited from class org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
constructArtifactPath, constructMissingArtifactMessage, getArtifact, getArtifactId, getArtifactPath, getClassifier, getGroupId, getOriginalMessage, getPath, getRemoteRepositories, getType, getVersion
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OverConstrainedVersionException

public OverConstrainedVersionException(String msg,
                                       Artifact artifact)

OverConstrainedVersionException

public OverConstrainedVersionException(String msg,
                                       Artifact artifact,
                                       List<ArtifactRepository> remoteRepositories)


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.