svn commit: r565056 - /lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentImpl.java

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Sun Aug 12 05:50:19 2007
New Revision: 565056

URL: http://svn.apache.org/viewvc?view=rev&rev=565056
Log:
[minor change] improved error message

Modified:
    lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentImpl.java

Modified: lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentImpl.java?view=diff&rev=565056&r1=565055&r2=565056
==============================================================================
--- lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentImpl.java (original)
+++ lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentImpl.java Sun Aug 12 05:50:19 2007
@@ -581,7 +581,7 @@
                 return structure.getByUuid(getUUID(), getLanguage());
             } else {
                 throw new DocumentException("The document [" + this
-                        + "] is not referenced in the site structure!");
+                        + "] is not referenced in the site structure [" + structure + "].");
             }
         } catch (Exception e) {
             throw new DocumentException(e);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.