# Uses of Class
org.springframework.core.Constants.ConstantException

Packages that use Constants.ConstantException
Package
Description
org.springframework.core
Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.

## Uses of Constants.ConstantException in org.springframework.core

Methods in org.springframework.core that throw Constants.ConstantException
Modifier and Type
Method
Description
`Number`
Constants.`asNumber(String code)`
Deprecated.
Return a constant value cast to a Number.
`Object`
Constants.`asObject(String code)`
Deprecated.
Parse the given String (upper or lower case accepted) and return the appropriate value if it's the name of a constant field in the class that we're analyzing.
`String`
Constants.`asString(String code)`
Deprecated.
Return a constant value as a String.
`String`
Constants.`toCode(Object value, String namePrefix)`
Deprecated.
Look up the given value within the given group of constants.
`String`
Constants.`toCodeForProperty(Object value, String propertyName)`
Deprecated.
Look up the given value within the group of constants for the given bean property name.
`String`
Constants.`toCodeForSuffix(Object value, String nameSuffix)`
Deprecated.
Look up the given value within the given group of constants.