|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.extensions.cdi.scripting.impl.util.ExceptionUtils
@Typed public abstract class ExceptionUtils
Method Summary | |
---|---|
static RuntimeException |
ambiguousLanguageDefinition(Class<? extends Language> id,
Language foundLanguage,
Language newLanguage)
Creates an exception if there are multiple language types |
static RuntimeException |
noScriptingLanguageAvailable()
Creates an exception if there is no script-language type available |
static RuntimeException |
noScriptingLanguageAvailableFor(Class<? extends Language> languageType)
Creates an exception if the type of the script-language isn't known |
static RuntimeException |
overrideBuilderState(String newValueHint)
Creates an exception if e.g. bindings would be overruled |
static RuntimeException |
unknownScriptingLanguage(String name)
Creates an exception if the script-language isn't known |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RuntimeException unknownScriptingLanguage(String name)
name
- unknown name
public static RuntimeException noScriptingLanguageAvailable()
public static RuntimeException noScriptingLanguageAvailableFor(Class<? extends Language> languageType)
languageType
- unknown language type
public static RuntimeException ambiguousLanguageDefinition(Class<? extends Language> id, Language foundLanguage, Language newLanguage)
id
- language idfoundLanguage
- registered languagenewLanguage
- found language
public static RuntimeException overrideBuilderState(String newValueHint)
newValueHint
- name of the argument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |