Examples of ObjectContentManagerException


Examples of org.apache.jackrabbit.ocm.exception.ObjectContentManagerException

            for (int i = 0; i < values.length; i++) {

              if (objects instanceof ManageableCollection)
                    ((ManageableCollection)objects).addObject(values[i].getString());
              else
                throw new ObjectContentManagerException(
                    "Unsupported data type in ReferenceCollectionConverter : " + objects.getClass().getName());
            }

            return objects;
        }
        catch(ValueFormatException vfe) {
          throw new ObjectContentManagerException("Cannot get the collection field : "
                  + collectionDescriptor.getFieldName()
                  + "for class " + collectionDescriptor.getClassDescriptor().getClassName(),
                  vfe);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.