maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject cvs commit: maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager NoSuchScmProviderException.java
Date Sun, 12 Dec 2004 22:24:36 GMT
trygvis     2004/12/12 14:24:36

  Modified:    maven-scm-api/src/main/java/org/apache/maven/scm/manager
                        NoSuchScmProviderException.java
  Log:
  o Adding getter for the provider name.
  
  Revision  Changes    Path
  1.3       +12 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/NoSuchScmProviderException.java
  
  Index: NoSuchScmProviderException.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/NoSuchScmProviderException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NoSuchScmProviderException.java	26 Oct 2004 12:37:06 -0000	1.2
  +++ NoSuchScmProviderException.java	12 Dec 2004 22:24:36 -0000	1.3
  @@ -25,8 +25,17 @@
   public class NoSuchScmProviderException
   	extends ScmException
   {
  -    public NoSuchScmProviderException( String providerType )
  +    private String providerName;
  +
  +    public NoSuchScmProviderException( String providerName )
       {
  -        super( "No such provider: '" + providerType + "'." );
  +        super( "No such provider: '" + providerName + "'." );
  +
  +        this.providerName = providerName;
  +    }
  +
  +    public String getProviderName()
  +    {
  +        return providerName;
       }
   }
  
  
  

Mime
View raw message