EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.exceptions
Class DefaultMappingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.DefaultMappingException
All Implemented Interfaces:
java.io.Serializable

public class DefaultMappingException
extends EclipseLinkException

Purpose: Wrapper for any exception that occurred through OC4J cmp deafult mapping.

See Also:
Serialized Form

Field Summary
static int EJB_SELECT_NOT_DEFINED_IN_BEAN
           
static int FIELD_NOT_FOUND
           
static int FINDER_NOT_DEFINED_IN_HOME
           
static int FINDER_NOT_START_WITH_FIND_OR_EJBSELECT
           
static int FINDER_PARAMETER_TYPE_NOT_FOUND
           
static int GETTER_NOT_FOUND
           
 
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
 
Constructor Summary
  DefaultMappingException(java.lang.String message)
           
protected DefaultMappingException(java.lang.String message, java.lang.Exception internalException)
           
 
Method Summary
static DefaultMappingException ejbSelectNotDefinedInBean(java.lang.String beanName, java.lang.String ejbSelectName, java.util.List ejbSelectParameters)
           
static DefaultMappingException fieldNotFound(java.lang.String field, java.lang.String beanName)
           
static DefaultMappingException finderNotDefinedInHome(java.lang.String beanName, java.lang.String finderName, java.util.List finderParameters)
           
static DefaultMappingException finderNotStartWithFindOrEjbSelect(java.lang.String beanName, java.lang.String finderName)
           
static DefaultMappingException finderParameterTypeNotFound(java.lang.String beanName, java.lang.String finderName, java.lang.String finderParameterTypeString)
           
static DefaultMappingException getterNotFound(java.lang.String getter, java.lang.String beanName)
           
 
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FINDER_PARAMETER_TYPE_NOT_FOUND

public static final int FINDER_PARAMETER_TYPE_NOT_FOUND
See Also:
Constant Field Values

FINDER_NOT_DEFINED_IN_HOME

public static final int FINDER_NOT_DEFINED_IN_HOME
See Also:
Constant Field Values

EJB_SELECT_NOT_DEFINED_IN_BEAN

public static final int EJB_SELECT_NOT_DEFINED_IN_BEAN
See Also:
Constant Field Values

FINDER_NOT_START_WITH_FIND_OR_EJBSELECT

public static final int FINDER_NOT_START_WITH_FIND_OR_EJBSELECT
See Also:
Constant Field Values

GETTER_NOT_FOUND

public static final int GETTER_NOT_FOUND
See Also:
Constant Field Values

FIELD_NOT_FOUND

public static final int FIELD_NOT_FOUND
See Also:
Constant Field Values
Constructor Detail

DefaultMappingException

public DefaultMappingException(java.lang.String message)

DefaultMappingException

protected DefaultMappingException(java.lang.String message,
                                  java.lang.Exception internalException)
Method Detail

finderParameterTypeNotFound

public static DefaultMappingException finderParameterTypeNotFound(java.lang.String beanName,
                                                                  java.lang.String finderName,
                                                                  java.lang.String finderParameterTypeString)

finderNotDefinedInHome

public static DefaultMappingException finderNotDefinedInHome(java.lang.String beanName,
                                                             java.lang.String finderName,
                                                             java.util.List finderParameters)

finderNotStartWithFindOrEjbSelect

public static DefaultMappingException finderNotStartWithFindOrEjbSelect(java.lang.String beanName,
                                                                        java.lang.String finderName)

ejbSelectNotDefinedInBean

public static DefaultMappingException ejbSelectNotDefinedInBean(java.lang.String beanName,
                                                                java.lang.String ejbSelectName,
                                                                java.util.List ejbSelectParameters)

getterNotFound

public static DefaultMappingException getterNotFound(java.lang.String getter,
                                                     java.lang.String beanName)

fieldNotFound

public static DefaultMappingException fieldNotFound(java.lang.String field,
                                                    java.lang.String beanName)

EclipseLink 1.0_1.0M2 API Reference - Incubation