org.datanucleus.exceptions
Class ConnectionFactoryNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.exceptions.ConnectionFactoryNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionFactoryNotFoundException
extends NucleusUserException

Exception thrown if a named connection factory cannot be found using its JNDI name.

Version:
$Revision: 1.5 $
See Also:
Serialized Form

Constructor Summary
ConnectionFactoryNotFoundException(java.lang.String name, java.lang.Exception nested)
          Constructs a connection factory not found exception.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionFactoryNotFoundException

public ConnectionFactoryNotFoundException(java.lang.String name,
                                          java.lang.Exception nested)
Constructs a connection factory not found exception.

Parameters:
name - The JNDI name that was not found.
nested - The nested exception from the naming service.


Copyright © 2010. All Rights Reserved.