WebObjects 5.4.2

com.webobjects.jndiadaptor
Class JNDIAdaptorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.webobjects.eoaccess.EOGeneralAdaptorException
                  extended by com.webobjects.jndiadaptor.JNDIAdaptorException
All Implemented Interfaces:
Serializable

public class JNDIAdaptorException
extends EOGeneralAdaptorException

The JNDIAdaptorException class represents a runtime exception that wraps an instance of NamingException.

See Also:
NamingException, Serialized Form

Constructor Summary
JNDIAdaptorException(NamingException namingException)
          Creates a new instance of JNDIAdaptorException with the specified naming exception.
JNDIAdaptorException(String message)
          Creates a new instance of JNDIAdaptorException with the specified message.
JNDIAdaptorException(String message, NamingException namingException)
          Creates a new instance of JNDIAdaptorException with the specified message and naming exception.
 
Method Summary
 NamingException namingException()
          Gets the naming exception.
 
Methods inherited from class com.webobjects.eoaccess.EOGeneralAdaptorException
userInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JNDIAdaptorException

public JNDIAdaptorException(String message)
Creates a new instance of JNDIAdaptorException with the specified message. Use this constructor when there is no naming exception to store.

Parameters:
message - - the detailed message
See Also:
JNDIAdaptorException.JNDIAdaptorException(String, NamingException), EOGeneralAdaptorException.EOGeneralAdaptorException(String)

JNDIAdaptorException

public JNDIAdaptorException(String message,
                            NamingException namingException)
Creates a new instance of JNDIAdaptorException with the specified message and naming exception.

Parameters:
message - - the detailed message
namingException - - the instance of NamingException
See Also:
JNDIAdaptorException.JNDIAdaptorException(String), NamingException

JNDIAdaptorException

public JNDIAdaptorException(NamingException namingException)
Creates a new instance of JNDIAdaptorException with the specified naming exception. The JNDIAdaptorException will use the message of the naming exception.

Parameters:
namingException - - the instance of NamingException
See Also:
JNDIAdaptorException.JNDIAdaptorException(String, NamingException)
Method Detail

namingException

public NamingException namingException()
Gets the naming exception.

Returns:
instance of NamingException
See Also:
NamingException

Last updated June 2008

Copyright © 2000-2008 Apple Inc.