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
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 messagenamingException
- - 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)
namingException
public NamingException namingException()
- Gets the naming exception.
- Returns:
- instance of
NamingException
- See Also:
NamingException
Copyright © 2003 Apple Computer, Inc.