Package javax.enterprise.inject.spi

Examples of javax.enterprise.inject.spi.DeploymentException


                if (((ProducerMethodBean) b).isSpecializedBean())
                {
                    Class superClass = b.getBeanClass().getSuperclass();
                    if (classesDisabledDueToSpecialization.contains(superClass))
                    {
                        throw new DeploymentException("Multiple specializations for the same producer method got detected for type"
                                + b.toString());
                    }
                    classesDisabledDueToSpecialization.add(superClass);
                }
            }
View Full Code Here


                webBeansContext.getAnnotatedElementFactory().clear();
            }
        }
        catch (UnsatisfiedResolutionException e)
        {
            throw new DeploymentException(e);
        }
        catch (AmbiguousResolutionException e)
        {
            throw new DeploymentException(e);
        }
        catch (UnproxyableResolutionException e)
        {
            // the tck expects a DeploymentException, but it really should be a DefinitionException, see i.e. https://issues.jboss.org/browse/CDITCK-346
            throw new DeploymentException(e);
        }
        catch (WebBeansConfigurationException e)
        {
            throw new DeploymentException(e);
        }
        catch (Exception e)
        {
            throw ExceptionUtil.throwAsRuntimeException(e);
        }
View Full Code Here

TOP

Related Classes of javax.enterprise.inject.spi.DeploymentException

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.