Package org.apache.myfaces.extensions.cdi.core.api

Examples of org.apache.myfaces.extensions.cdi.core.api.UnhandledException


     * @param windowContextManager found window-context-manager instance
     * @return exception which can be thrown
     */
    public static RuntimeException windowContextManagerNotEditableException(WindowContextManager windowContextManager)
    {
        return new UnhandledException(windowContextManager.getClass().getName() + " has to implement "
                + EditableWindowContextManager.class.getName());
    }
View Full Code Here


     * @param windowContext found window-context instance
     * @return exception which can be thrown
     */
    public static RuntimeException windowContextNotEditableException(WindowContext windowContext)
    {
        return new UnhandledException(windowContext.getClass().getName() + " has to implement "
                + EditableWindowContext.class.getName());
    }
View Full Code Here

     * @param conversation found conversation instance
     * @return exception which can be thrown
     */
    public static RuntimeException conversationNotEditableException(Conversation conversation)
    {
        return new UnhandledException(conversation.getClass().getName() + " has to implement "
                + EditableConversation.class.getName());
    }
View Full Code Here

                }
            }
        }
        catch (IllegalAccessException e)
        {
            throw new UnhandledException(e);
        }
        catch (InvocationTargetException e)
        {
            throw new UnhandledException(e);
        }
    }
View Full Code Here

     * Creates an exception which signals that a user opened too many windows.
     * @return exception which can be thrown
     */
    public static RuntimeException tooManyOpenWindowException()
    {
        return new UnhandledException("Too many active windows/tabs have been opened!" +
            " Please continue with one of the existing windows.");
    }
View Full Code Here

     * @param windowContextManager found window-context-manager instance
     * @return exception which can be thrown
     */
    public static RuntimeException windowContextManagerNotEditableException(WindowContextManager windowContextManager)
    {
        return new UnhandledException(windowContextManager.getClass().getName() + " has to implement "
                + EditableWindowContextManager.class.getName());
    }
View Full Code Here

     * @param windowContext found window-context instance
     * @return exception which can be thrown
     */
    public static RuntimeException windowContextNotEditableException(WindowContext windowContext)
    {
        return new UnhandledException(windowContext.getClass().getName() + " has to implement "
                + EditableWindowContext.class.getName());
    }
View Full Code Here

     * @param conversation found conversation instance
     * @return exception which can be thrown
     */
    public static RuntimeException conversationNotEditableException(Conversation conversation)
    {
        return new UnhandledException(conversation.getClass().getName() + " has to implement "
                + EditableConversation.class.getName());
    }
View Full Code Here

                serviceFiles.add(serviceFileEnumerator.nextElement());
            }
        }
        catch (Exception e)
        {
            throw new UnhandledException(
                    "Failed to load " + this.serviceType.getName() + " configured in " + getConfigFileLocation(), e);
        }
        return serviceFiles;
    }
View Full Code Here

                }
            }
        }
        catch (Exception e)
        {
            throw new UnhandledException("Failed to process service-config: " + serviceFile, e);
        }
        finally
        {
            if (inputStream != null)
            {
                try
                {
                    inputStream.close();
                }
                catch (Exception e)
                {
                    throw new UnhandledException("Failed to close " + serviceFile, e);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.core.api.UnhandledException

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.