Package org.andromda.core.repository

Examples of org.andromda.core.repository.RepositoryFacadeException


            "org.netbeans.mdr.persistence.memoryimpl.StorageFactoryImpl");

        final MDRManager mdrManager = MDRManager.getDefault();
        if (mdrManager == null)
        {
            throw new RepositoryFacadeException("Could not retrieve the MDR manager");
        }
        this.repository = mdrManager.getDefaultRepository();
    }
View Full Code Here


                    moduleSearchPath,
                    metaModel);
        }
        catch (final Throwable throwable)
        {
            throw new RepositoryFacadeException(throwable);
        }
    }
View Full Code Here

     */
    private URL getMetamodelUri()
    {
        if (this.metamodelUri == null)
        {
            throw new RepositoryFacadeException("No metamodel was defined");
        }
        return this.metamodelUri;
    }
View Full Code Here

                    moduleSearchPath,
                    metaModel);
        }
        catch (final Throwable throwable)
        {
            throw new RepositoryFacadeException(throwable);
        }
    }
View Full Code Here

        {
            ResourceUtils.toURL(metamodelLocation);
        }
        if (this.metamodelUri == null)
        {
            throw new RepositoryFacadeException("No metamodel could be loaded from --> '" + metamodelLocation + "'");
        }
    }
View Full Code Here

            (org.netbeans.api.xmi.XMIReaderFactory)this.xmiReaderFactoryInstances.get(this.xmiReaderFactory);
        if (factory == null)
        {
            if (this.xmiReaderFactory == null || this.xmiReaderFactory.trim().length() == 0)
            {
                throw new RepositoryFacadeException("No 'xmiReaderFactory' has been set");
            }
            Object instance = ClassUtils.loadClass(this.xmiReaderFactory).newInstance();
            if (instance instanceof XMIReaderFactory)
            {
                factory = (XMIReaderFactory)instance;
                this.xmiReaderFactoryInstances.put(
                    this.xmiReaderFactory,
                    factory);
            }
            else
            {
                throw new RepositoryFacadeException("The 'xmiReaderFactory' must be an instance of '" +
                    XMIReaderFactory.class.getName() + "'");
            }
        }
        return factory;
    }
View Full Code Here

            outputStream.close();
            outputStream = null;
        }
        catch (final Throwable throwable)
        {
            throw new RepositoryFacadeException(throwable);
        }
    }
View Full Code Here

                        this.modelAccessFacade,
                        ModelAccessFacade.class);
            }
            catch (final Throwable throwable)
            {
                throw new RepositoryFacadeException(throwable);
            }
        }
        if (this.model != null)
        {
            this.modelFacade.setModel(this.model);
View Full Code Here

                    }
                }
            }
            catch (final Throwable throwable)
            {
                throw new RepositoryFacadeException(throwable);
            }
            if (logger.isDebugEnabled())
            {
                logger.debug("read URIs and created model");
            }
View Full Code Here

                    }
                }
            }
            catch (final Throwable throwable)
            {
                throw new RepositoryFacadeException(throwable);
            }
            if (logger.isDebugEnabled())
            {
                logger.debug("read URIs and created model");
            }
View Full Code Here

TOP

Related Classes of org.andromda.core.repository.RepositoryFacadeException

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.