Changeset 30106
- Timestamp:
- 02/12/08 21:56:15 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.core/trunk/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/api/DocumentModel.java
r28346 r30106 600 600 */ 601 601 void setPropertyValue(String xpath, Serializable value) throws PropertyException; 602 603 /** 604 * Returns the flags set on the document model. 605 * 606 * @return 607 */ 608 long getFlags(); 602 609 603 610 } org.nuxeo.ecm.core/trunk/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/api/impl/DocumentModelImpl.java
r29428 r30106 443 443 // TODO: how to handle exceptions? 444 444 log.error("ERROR getting the data model: " + schema + " for " 445 + ref );445 + ref,e); 446 446 } 447 447 } … … 627 627 } catch (Exception e) { 628 628 // XXX this exception shouldn't be swallowed! 629 log.error("ERROR getting the ACP for " + ref );629 log.error("ERROR getting the ACP for " + ref,e); 630 630 } 631 631 } … … 646 646 } catch (Exception e) { 647 647 // XXX this exception shouldn't be swallowed! 648 log.error("ERROR setting the ACP for " + ref );648 log.error("ERROR setting the ACP for " + ref,e); 649 649 } 650 650 } … … 1398 1398 type = Framework.getService(SchemaManager.class).getDocumentType(getType()); 1399 1399 } catch (Exception e) { 1400 e.printStackTrace();1400 log.error(e); 1401 1401 } 1402 1402 Collection<Schema> schemas = type.getSchemas();
