Ignore:
Timestamp:
19/08/10 15:26:00 (21 months ago)
Author:
Stephen Rankin
Message:

Refactoring due to name change. ref#236.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/applications/NXvalidate/src/org/nexusformat/nxvalidate/ValidatorUtils.java

    r1507 r1511  
    2727 
    2828import java.io.File; 
    29 import org.nexusformat.nxvalidate.exceptions.NXConvertpyException; 
     29import org.nexusformat.nxvalidate.exceptions.NXvalidateException; 
    3030import java.util.logging.Level; 
    3131import java.util.logging.Logger; 
     
    133133     * and the Schematron file. The returned file is the results file. 
    134134     * @return the results file as a File object. 
    135      * @throws NXConvertpyException 
     135     * @throws NXvalidateException 
    136136     */ 
    137     public File validate() throws NXConvertpyException { 
     137    public File validate() throws NXvalidateException { 
    138138 
    139139        File result = null; 
     
    148148                        "While converting \"" + nxsFile 
    149149                        + "\" to reduced xml format"); 
    150                 throw new NXConvertpyException("While converting \"" + nxsFile 
     150                throw new NXvalidateException("While converting \"" + nxsFile 
    151151                        + "\" to reduced xml format"); 
    152152            } 
     
    165165                Logger.getLogger(ValidatorUtils.class.getName()).log(Level.SEVERE, 
    166166                        "While creating validation report"); 
    167                 throw new NXConvertpyException("While creating validation report"); 
     167                throw new NXvalidateException("While creating validation report"); 
    168168            } 
    169169        } 
Note: See TracChangeset for help on using the changeset viewer.