org.osjava.sj.jndi
Class InvalidObjectTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by 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

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.