Project

General

Profile

« Previous | Next » 

Revision 28e80be0

Added by Andreas Müller 4 months ago

ref #9359 update plexus-utils in cdmlib (fix compile error)

View differences:

cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/DocUtils.java
2 2

  
3 3
import java.io.ByteArrayOutputStream;
4 4
import java.io.File;
5
import java.io.FileNotFoundException;
6 5
import java.io.IOException;
7 6
import java.io.InputStream;
8 7
import java.io.Reader;
......
65 64
        Reader reader;
66 65
        try {
67 66
            reader = ReaderFactory.newReader( aptFile, "UTF-8" );
68
        } catch (FileNotFoundException e) {
69
            return "Error in generating documentation : " + e.getMessage();
70
        } catch (UnsupportedEncodingException e) {
67
        } catch (IOException e) {
71 68
            return "Error in generating documentation : " + e.getMessage();
72 69
        }
73 70

  

Also available in: Unified diff