From 487bf01ca21d3feeeb5b1ac72aae89a5f4a94182 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Tue, 23 Oct 2007 17:39:10 +0000 Subject: [PATCH] Keep backwards compatibility by deprecating old methods git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587569 13f79535-47bb-0310-9956-ffa450edef68 --- .../artifact/InvalidDependencyVersionException.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/maven-project/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java b/maven-project/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java index f118b4e604..08983736f9 100644 --- a/maven-project/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java +++ b/maven-project/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java @@ -34,4 +34,12 @@ public class InvalidDependencyVersionException { super( message, cause ); } + + /** + * @deprecated use {@link #InvalidDependencyVersionException(String, InvalidVersionSpecificationException)} + */ + public InvalidDependencyVersionException( String message, Exception cause ) + { + super( message, cause ); + } }