Changeset 26259

Show
Ignore:
Timestamp:
26.09.2012 16:51:58 (7 years ago)
Author:
ak19
Message:

Error message returned from fedora has changed from Fedora 3.0 to 3.2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraConnection.java

    r26171 r26259  
    751751            //if(e.getCause().getMessage().contains("fedora.server.errors.DatastreamNotFoundException")) 
    752752             
    753             if(e.getMessage().contains("fedora.server.errors.DatastreamNotFoundException"))  
     753            if(e.getMessage().contains("No datastream could be returned.") || e.getMessage().contains("fedora.server.errors.DatastreamNotFoundException"))   
    754754            {   // there is no DLS data stream for this document 
    755755                return "";