org.apache.myfaces.extensions.cdi.jsf.impl.util
Class ExceptionUtils

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.util.ExceptionUtils

@Typed
public abstract class ExceptionUtils
extends Object

Author:
Gerhard Petracek

Method Summary
static IllegalStateException ambiguousDefaultErrorViewDefinitionException(Class<? extends ViewConfig> newDef, Class<? extends ViewConfig> existingDef)
           
static IllegalStateException ambiguousViewConfigRootException(Class storedPageClass, Class viewConfigRootClass)
           
static IllegalArgumentException ambiguousViewDefinitionException(String viewId, Class<? extends ViewConfig> newDef, Class<? extends ViewConfig> existingDef)
           
static RuntimeException conversationNotEditableException(Conversation conversation)
           
static IllegalArgumentException conversationNotFoundException(String conversationKey)
           
static IllegalArgumentException invalidPhasesCallbackMethod(Class targetClass, Method method)
           
static RuntimeException invalidViewException(String viewId)
           
static IllegalStateException missingInlineViewConfigRootMarkerException(Class<? extends ViewConfig> viewDefinitionClass)
           
static RuntimeException tooManyOpenWindowException(int windowContextTimeoutInMinutes)
           
static IllegalStateException unsupportedPhasesLifecycleCallback()
           
static RuntimeException windowContextManagerNotEditableException(WindowContextManager windowContextManager)
           
static RuntimeException windowContextNotEditableException(WindowContext windowContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tooManyOpenWindowException

public static RuntimeException tooManyOpenWindowException(int windowContextTimeoutInMinutes)

windowContextManagerNotEditableException

public static RuntimeException windowContextManagerNotEditableException(WindowContextManager windowContextManager)

windowContextNotEditableException

public static RuntimeException windowContextNotEditableException(WindowContext windowContext)

conversationNotEditableException

public static RuntimeException conversationNotEditableException(Conversation conversation)

invalidViewException

public static RuntimeException invalidViewException(String viewId)

invalidPhasesCallbackMethod

public static IllegalArgumentException invalidPhasesCallbackMethod(Class targetClass,
                                                                   Method method)

unsupportedPhasesLifecycleCallback

public static IllegalStateException unsupportedPhasesLifecycleCallback()

conversationNotFoundException

public static IllegalArgumentException conversationNotFoundException(String conversationKey)

missingInlineViewConfigRootMarkerException

public static IllegalStateException missingInlineViewConfigRootMarkerException(Class<? extends ViewConfig> viewDefinitionClass)

ambiguousViewConfigRootException

public static IllegalStateException ambiguousViewConfigRootException(Class storedPageClass,
                                                                     Class viewConfigRootClass)

ambiguousViewDefinitionException

public static IllegalArgumentException ambiguousViewDefinitionException(String viewId,
                                                                        Class<? extends ViewConfig> newDef,
                                                                        Class<? extends ViewConfig> existingDef)

ambiguousDefaultErrorViewDefinitionException

public static IllegalStateException ambiguousDefaultErrorViewDefinitionException(Class<? extends ViewConfig> newDef,
                                                                                 Class<? extends ViewConfig> existingDef)


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.