Changeset 676


Ignore:
Timestamp:
03/16/09 06:09:52 (3 years ago)
Author:
jharrop
Message:

logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/URIHelper.java

    r639 r676  
    394394                        throw new IllegalArgumentException("sourcePartUri"); 
    395395                } 
    396                 if (targetUri == null || targetUri.isAbsolute()) { 
     396                if (targetUri == null) { 
     397                        log.error("targetUri was null"); 
     398                        throw new IllegalArgumentException("targetUri");                         
     399                } else if (targetUri.isAbsolute()) {                     
     400                        log.error("targetUri " + targetUri.toString() + " is absolute!"); 
    397401                        throw new IllegalArgumentException("targetUri"); 
    398402                } 
Note: See TracChangeset for help on using the changeset viewer.