Package com.smartgwt.client.util
Class ConfigUtil
java.lang.Object
com.smartgwt.client.util.ConfigUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getSimpleClassName
(Class targetClass) static void
setUseWarningsForConfigurationErrors
(boolean useWarnings) When set true, prevents IllegalStateException from being thrown when a configuration properties object is instantiated prior to being passed in to configure another object.static void
warnOfPostConfigInstantiation
(Class callerClass, String callerMethodName, String configTypeName) static void
warnOfPreConfigInstantiation
(Class callerClass, String callerMethodName, Class configClass) static void
warnOfPreConfigInstantiation
(Class callerClass, String callerMethodName, String configTypeName)
-
Field Details
-
CONFIG_PROPERTIES
- See Also:
-
-
Constructor Details
-
ConfigUtil
public ConfigUtil()
-
-
Method Details
-
getSimpleClassName
-
warnOfPreConfigInstantiation
-
warnOfPreConfigInstantiation
-
warnOfPostConfigInstantiation
-
setUseWarningsForConfigurationErrors
public static void setUseWarningsForConfigurationErrors(boolean useWarnings) When set true, prevents IllegalStateException from being thrown when a configuration properties object is instantiated prior to being passed in to configure another object. A warning will be logged in this case instead of throwing an exception.- Parameters:
useWarnings
- whether to report all config errors as warnings rather than exceptions
-