Coverage Report - net.sf.statsvn.util.SvnVersionMismatchException
 
Classes in this File Line Coverage Branch Coverage Complexity
SvnVersionMismatchException
0%
0/6
N/A
1
 
 1  
 package net.sf.statsvn.util;
 2  
 
 3  
 /**
 4  
  * Indicates that an invalid version of the <tt>svn</tt> executable was found.
 5  
  * This exception can be thrown by explicit checking of the <tt>svn</tt> binary's version, or
 6  
  * by checking for (and failing to find) a repository root in <tt>svn info</tt>'s output (a 1.3 feature).
 7  
  * 
 8  
  * @see net.sf.statsvn.util.SvnStartupUtils
 9  
  * 
 10  
  * @author Jean-Philippe Daigle <jpdaigle@softwareengineering.ca>
 11  
  * 
 12  
  * @version $Id: SvnVersionMismatchException.java 351 2008-03-28 18:46:26Z benoitx $
 13  
  */
 14  
 public class SvnVersionMismatchException extends Exception {
 15  
         private static final long serialVersionUID = 1L;
 16  
 
 17  
         public SvnVersionMismatchException() {
 18  0
                 super("Subversion binary is incorrect version or not found. Please verify that "
 19  
                         + "you have installed the Subversion command-line client and it is on your path.");
 20  0
         }
 21  
 
 22  
         public SvnVersionMismatchException(final String m) {
 23  0
                 super(m);
 24  0
         }
 25  
 
 26  
         public SvnVersionMismatchException(final String found, final String required) {
 27  0
                 super("Subversion binary is incorrect version. Found: " + found + ", required: " + required);
 28  0
         }
 29  
 }