public class TypeMismatchNamingException
extends javax.naming.NamingException
JndiTemplate.lookup(String, Class),
Serialized Form| Constructor and Description |
|---|
TypeMismatchNamingException(java.lang.String explanation)
Deprecated.
as of Spring Framework 4.3.10
|
TypeMismatchNamingException(java.lang.String jndiName,
java.lang.Class<?> requiredType,
java.lang.Class<?> actualType)
Construct a new TypeMismatchNamingException,
building an explanation text from the given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getActualType()
Return the actual type that the lookup returned, if available.
|
java.lang.Class<?> |
getRequiredType()
Return the required type for the lookup, if available.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toStringpublic TypeMismatchNamingException(java.lang.String jndiName,
java.lang.Class<?> requiredType,
java.lang.Class<?> actualType)
jndiName - the JNDI namerequiredType - the required type for the lookupactualType - the actual type that the lookup returned@Deprecated public TypeMismatchNamingException(java.lang.String explanation)
explanation - the explanation text