Changeset 32428 for main/trunk

Show
Ignore:
Timestamp:
06.09.2018 01:58:28 (13 months ago)
Author:
litvinovg
Message:

Throw new exception to prevent NPE in XMLTransformer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneRetrieve.java

    r32160 r32428  
    177177        catch (Exception e) 
    178178        { 
     179             
    179180            logger.error("Error trying to get document text for " + doc_id + " in collection " + this.cluster_name + ": " + e); 
     181            throw new GSException("Error trying to get document text for " + doc_id + " in collection " + this.cluster_name + ": " + e); 
    180182        } 
    181183