org.exoplatform.forum.common.conf
Class RequiredParamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.exoplatform.forum.common.conf.InitParamException
                  extended by org.exoplatform.forum.common.conf.RequiredParamException
All Implemented Interfaces:
Serializable

public class RequiredParamException
extends InitParamException

Exception thrown by components to indicate that a param is missing in configuration.

Version:
$Revision$
Author:
Patrice Lamarque
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.exoplatform.forum.common.conf.InitParamException
params, target
 
Constructor Summary
RequiredParamException(org.exoplatform.container.xml.InitParams params, Class<?> target, String paramName, Class<?> expectedType)
           
 
Method Summary
 Class<?> getExpectedType()
           
 String getMessage()
           
 String getParamName()
           
 void setExpectedType(Class<?> expectedType)
           
 void setParamName(String paramName)
           
 
Methods inherited from class org.exoplatform.forum.common.conf.InitParamException
getParams, getTarget, setParams, setTarget
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequiredParamException

public RequiredParamException(org.exoplatform.container.xml.InitParams params,
                              Class<?> target,
                              String paramName,
                              Class<?> expectedType)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getParamName

public String getParamName()

setParamName

public void setParamName(String paramName)

getExpectedType

public Class<?> getExpectedType()

setExpectedType

public void setExpectedType(Class<?> expectedType)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.