Package org.qi4j.api.common

Examples of org.qi4j.api.common.InvalidApplicationException


                {
                    // Create default model
                    MixinsModel mixinsModel = new MixinsModel();
                    model = new ValueModel( ValueComposite.class, (Iterable) Iterables.iterable(ValueComposite.class), Visibility.application, new MetaInfo( ), mixinsModel, new ValueStateModel( new PropertiesModel(), new AssociationsModel(), new ManyAssociationsModel() ), new CompositeMethodsModel( mixinsModel ) );
                } else
                    throw new InvalidApplicationException("["+module.name()+"] Could not find ValueComposite of type "+type);
            }

            return model.valueType();
        }
        else if( EnumType.isEnum( type ) )
View Full Code Here


            return serviceModel;
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + compositeType.getName(), e );
        }
    }
View Full Code Here

            for( LayerModel usedLayer : layer.usedLayers().layers() )
            {
                LayerInstance layerInstance = layerInstanceMap.get( usedLayer );
                if( layerInstance == null )
                {
                    throw new InvalidApplicationException( "Could not find used layer:" + usedLayer.name() );
                }
                usedLayerInstances.add( layerInstance );
            }
        }
View Full Code Here

                                                                          moduleAssembly.name() );
            serviceModels.add( serviceModel );
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + serviceType.getName(), e );
        }
    }
View Full Code Here

            ObjectModel objectModel = new ObjectModel( objectType, visibility, metaInfo );
            objectModels.add( objectModel );
        }
        catch( Throwable e )
        {
            throw new InvalidApplicationException( "Could not register " + objectType.getName(), e );
        }
    }
View Full Code Here

            return transientModel;
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + compositeType.getName(), e );
        }
    }
View Full Code Here

                                     mixinsModel, stateModel, compositeMethodsModel,
                                     identity, instantiateOnStartup );
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + types, e );
        }
    }
View Full Code Here

            return transientModel;
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + types, e );
        }
    }
View Full Code Here

            return valueModel;
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + types, e );
        }
    }
View Full Code Here

            return entityModel;
        }
        catch( Exception e )
        {
            throw new InvalidApplicationException( "Could not register " + types, e );
        }
    }
View Full Code Here

TOP

Related Classes of org.qi4j.api.common.InvalidApplicationException

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.