类 TypeMismatchNamingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
cn.taketoday.jndi.TypeMismatchNamingException
- 所有已实现的接口:
Serializable
Exception thrown if a type mismatch is encountered for an object
located in a JNDI environment. Thrown by JndiTemplate.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
- 另请参阅:
-
字段概要
从类继承的字段 javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException -
构造器概要
构造器构造器说明TypeMismatchNamingException(String jndiName, Class<?> requiredType, Class<?> actualType) Construct a new TypeMismatchNamingException, building an explanation text from the given arguments. -
方法概要
从类继承的方法 javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
-
构造器详细资料
-
TypeMismatchNamingException
Construct a new TypeMismatchNamingException, building an explanation text from the given arguments.- 参数:
jndiName- the JNDI namerequiredType- the required type for the lookupactualType- the actual type that the lookup returned
-
-
方法详细资料
-
getRequiredType
Return the required type for the lookup, if available. -
getActualType
Return the actual type that the lookup returned, if available.
-