WebObjects 5.2

com.webobjects.eoaccess
Class EOGeneralAdaptorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.webobjects.eoaccess.EOGeneralAdaptorException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JDBCAdaptorException, JNDIAdaptorException

public class EOGeneralAdaptorException
extends RuntimeException

A subclass of RuntimeException thrown by EOAccess. This is a generic exception. A more specific exception should be used if known.

See Also:
Serialized Form

Constructor Summary
EOGeneralAdaptorException(String message)
          Constructs a EOGeneralAdaptorException with the specified detail message.
EOGeneralAdaptorException(String name, NSDictionary userInfo)
          Constructs a EOGeneralAdaptorException with the specified name and a userInfo dictionary of additional information.
EOGeneralAdaptorException(String selectorName, String className, String message)
          Constructs a new EOGeneralAdaptorException with the name of the selector (method) and class throwing the exception, and a detailed message about the exception.
 
Method Summary
 NSDictionary userInfo()
          Returns the dictionary of arbitrary user information associated with the receiver.
 
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

EOGeneralAdaptorException

public EOGeneralAdaptorException(String message)
Constructs a EOGeneralAdaptorException with the specified detail message.
Parameters:
message - A detailed message about the exception.

EOGeneralAdaptorException

public EOGeneralAdaptorException(String name,
                                 NSDictionary userInfo)
Constructs a EOGeneralAdaptorException with the specified name and a userInfo dictionary of additional information.
Parameters:
name - The name of the exception.
userInfo - Arbitrary additional information associated with the exception.

EOGeneralAdaptorException

public EOGeneralAdaptorException(String selectorName,
                                 String className,
                                 String message)
Constructs a new EOGeneralAdaptorException with the name of the selector (method) and class throwing the exception, and a detailed message about the exception.
Parameters:
selectorName - The name of the method throwing the exception.
className - The name of the class throwing the exception.
message - A detailed message about the exception.
Method Detail

userInfo

public NSDictionary userInfo()
Returns the dictionary of arbitrary user information associated with the receiver.
Returns:
The dictionary of user information for the receiver.

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.