Package com.impetus.kundera.loader

Examples of com.impetus.kundera.loader.MetamodelLoaderException


                }
            }
            catch (Exception e)
            {
                LOG.error("Error setting Contstraint for managed type, Caused by: {}", e);
                throw new MetamodelLoaderException("Error setting Contstraint for managed type"+e.getMessage());
            }
          
        }
View Full Code Here


        private void isValidId(AbstractManagedType superType)
        {
            if (superType == null)
            {
                throw new MetamodelLoaderException("field : " + attribute.getName()
                        + " is either annotated with @EmbeddedId or class:" + managedType.getJavaType()
                        + " is annotated with @Idclass, but enclosed class is not having any member");
            }
        }
View Full Code Here

            private void checkEmbeddable(Class superType, String fieldname)
            {
                // check validity.
                if (superType != null && !superType.isAnnotationPresent(Embeddable.class))
                {
                    throw new MetamodelLoaderException("Field: " + fieldname
                            + " is annotated with @EmbeddedId but corresponding class:" + superType
                            + " is not an @Embeddable entity");
                }
            }
View Full Code Here

TOP

Related Classes of com.impetus.kundera.loader.MetamodelLoaderException

Copyright © 2018 www.massapicom. 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.