open class TypeMismatchNamingException : NamingException
Exception thrown if a type mismatch is encountered for an object located in a JNDI environment. Thrown by JndiTemplate.
Author
Juergen Hoeller
Since
1.2.8
See Also
JndiTemplate#lookup(String, Class)
TypeMismatchNamingException(jndiName: String, requiredType: Class<*>, actualType: Class<*>)
Construct a new TypeMismatchNamingException, building an explanation text from the given arguments. |
fun getActualType(): Class<*>
Return the actual type that the lookup returned, if available. |
|
fun getRequiredType(): Class<*>
Return the required type for the lookup, if available. |