public class DefaultMappingException extends TopLinkException
Purpose: Wrapper for any exception that occurred through OC4J cmp deafult mapping.
Modifier and Type | Field and Description |
---|---|
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 |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Modifier | Constructor and Description |
---|---|
|
DefaultMappingException(String message) |
protected |
DefaultMappingException(String message,
Exception internalException) |
Modifier and Type | Method and Description |
---|---|
static DefaultMappingException |
ejbSelectNotDefinedInBean(String beanName,
String ejbSelectName,
List ejbSelectParameters) |
static DefaultMappingException |
fieldNotFound(String field,
String beanName) |
static DefaultMappingException |
finderNotDefinedInHome(String beanName,
String finderName,
List finderParameters) |
static DefaultMappingException |
finderNotStartWithFindOrEjbSelect(String beanName,
String finderName) |
static DefaultMappingException |
finderParameterTypeNotFound(String beanName,
String finderName,
String finderParameterTypeString) |
static DefaultMappingException |
getterNotFound(String getter,
String beanName) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
public static final int FINDER_PARAMETER_TYPE_NOT_FOUND
public static final int FINDER_NOT_DEFINED_IN_HOME
public static final int EJB_SELECT_NOT_DEFINED_IN_BEAN
public static final int FINDER_NOT_START_WITH_FIND_OR_EJBSELECT
public static final int GETTER_NOT_FOUND
public static final int FIELD_NOT_FOUND
public DefaultMappingException(String message)
public static DefaultMappingException finderParameterTypeNotFound(String beanName, String finderName, String finderParameterTypeString)
public static DefaultMappingException finderNotDefinedInHome(String beanName, String finderName, List finderParameters)
public static DefaultMappingException finderNotStartWithFindOrEjbSelect(String beanName, String finderName)
public static DefaultMappingException ejbSelectNotDefinedInBean(String beanName, String ejbSelectName, List ejbSelectParameters)
public static DefaultMappingException getterNotFound(String getter, String beanName)
public static DefaultMappingException fieldNotFound(String field, String beanName)
Copyright © 2021. All rights reserved.