WebObjects 5.2

com.webobjects.jndiadaptor
Class JNDIAdaptorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.webobjects.eoaccess.EOGeneralAdaptorException
                          |
                          +--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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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 Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.