WebObjects 5.4.2

com.webobjects.eoaccess
Class EOGeneralAdaptorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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, 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

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 June 2008

Copyright © 2000-2008 Apple Inc.