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

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


            // add requst-parameters e.g. for f:viewParam handling
            windowHandler.sendRedirect(FacesContext.getCurrentInstance().getExternalContext(), targetURL, true);
        }
        catch (IOException e)
        {
            throw new UnhandledException(e);
        }
    }
View Full Code Here


            return this.webClient.getPage(this.baseURL + viewId);
        }
        catch (IOException e)
        {
            throw new UnhandledException(e);
        }
    }
View Full Code Here

                assertTrue(url(this.currentPage).contains(expectedTarget));
            }
        }
        catch (IOException e)
        {
            throw new UnhandledException(e);
        }
    }
View Full Code Here

            {
                throw new ContainerNotStartedException(e);
            }
            else
            {
                throw new UnhandledException(e);
            }
        }
    }
View Full Code Here

                assertTrue(url(this.currentPage).contains(expectedTarget));
            }
        }
        catch (IOException e)
        {
            throw new UnhandledException(e);
        }
    }
View Full Code Here

        // prevent instantiation
    }

    public static RuntimeException tooManyOpenWindowException(int windowContextTimeoutInMinutes)
    {
        return new UnhandledException("Too many active windows/tabs have been opened!" +
            " Please continue with one of the existing windows or wait up to "
                + windowContextTimeoutInMinutes + " minutes.");
    }
View Full Code Here

                + windowContextTimeoutInMinutes + " minutes.");
    }

    public static RuntimeException windowContextManagerNotEditableException(WindowContextManager windowContextManager)
    {
        return new UnhandledException(windowContextManager.getClass().getName() + " has to implement "
                + EditableWindowContextManager.class.getName());
    }
View Full Code Here

                + EditableWindowContextManager.class.getName());
    }

    public static RuntimeException windowContextNotEditableException(WindowContext windowContext)
    {
        return new UnhandledException(windowContext.getClass().getName() + " has to implement "
                + EditableWindowContext.class.getName());
    }
View Full Code Here

                + EditableWindowContext.class.getName());
    }

    public static RuntimeException conversationNotEditableException(Conversation conversation)
    {
        return new UnhandledException(conversation.getClass().getName() + " has to implement "
                + EditableConversation.class.getName());
    }
View Full Code Here

                + EditableConversation.class.getName());
    }

    public static RuntimeException invalidViewException(String viewId)
    {
        return new UnhandledException("View-ID: " + viewId + " doesn't exist.");
    }
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.