Class RequiredParamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.exoplatform.forum.common.conf.InitParamException
org.exoplatform.forum.common.conf.RequiredParamException
- All Implemented Interfaces:
Serializable
Exception thrown by components to indicate that a param is missing in configuration.
- Version:
- $Revision$
- Author:
- Patrice Lamarque
- See Also:
-
Field Summary
Fields inherited from class org.exoplatform.forum.common.conf.InitParamException
params, target -
Constructor Summary
ConstructorsConstructorDescriptionRequiredParamException(org.exoplatform.container.xml.InitParams params, Class<?> target, String paramName, Class<?> expectedType) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>voidsetExpectedType(Class<?> expectedType) voidsetParamName(String paramName) Methods inherited from class org.exoplatform.forum.common.conf.InitParamException
getParams, getTarget, setParams, setTargetMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequiredParamException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getParamName
-
setParamName
-
getExpectedType
-
setExpectedType
-