WebObjects 5.2.3

com.webobjects.jndiadaptor
Class JNDIAdaptorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.webobjects.eoaccess.EOGeneralAdaptorException
                  extended bycom.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(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(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(String, NamingException)
Method Detail

namingException

public NamingException namingException()
Gets the naming exception.

Returns:
instance of NamingException
See Also:
NamingException

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.