Package org.osjava.sj.jndi
Class InvalidObjectTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.naming.NamingException
-
- org.osjava.sj.jndi.InvalidObjectTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidObjectTypeException extends javax.naming.NamingException
An exception to indicate that the object that was being bound to a context is not a valid type for the context.- Since:
- 0.9.2 XXX: Henri confirm this
- Version:
- $Rev: 1978 $ $Date: 2005-08-29 18:30:33 -0700 (Mon, 29 Aug 2005) $
- Author:
- Robert M. Zigweid
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidObjectTypeException()
Create a new InvalidObjectTypeException with the default explanation.InvalidObjectTypeException(java.lang.String explanation)
Create a new InvalidObjectTypeException with the given explanation.
-
Method Summary
-
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
-
-
-
-
Constructor Detail
-
InvalidObjectTypeException
public InvalidObjectTypeException(java.lang.String explanation)
Create a new InvalidObjectTypeException with the given explanation.- Parameters:
explanation
- An explanation of why the exception was thrown.
-
InvalidObjectTypeException
public InvalidObjectTypeException()
Create a new InvalidObjectTypeException with the default explanation.
-
-