Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.DefaultMappingException | ejbSelectNotDefinedInBean(java.lang.String beanName, java.lang.String ejbSelectName, java.util.List ejbSelectParameters)
Object[] args = { beanName, ejbSelectName, ejbSelectParameters.toArray() };
DefaultMappingException exception = new DefaultMappingException(ExceptionMessageGenerator.buildMessage(DefaultMappingException.class, EJB_SELECT_NOT_DEFINED_IN_BEAN, args));
exception.setErrorCode(EJB_SELECT_NOT_DEFINED_IN_BEAN);
return exception;
|
public static oracle.toplink.essentials.exceptions.DefaultMappingException | fieldNotFound(java.lang.String field, java.lang.String beanName)
Object[] args = { field, beanName };
DefaultMappingException exception = new DefaultMappingException(ExceptionMessageGenerator.buildMessage(DefaultMappingException.class, FIELD_NOT_FOUND, args));
exception.setErrorCode(FIELD_NOT_FOUND);
return exception;
|
public static oracle.toplink.essentials.exceptions.DefaultMappingException | finderNotDefinedInHome(java.lang.String beanName, java.lang.String finderName, java.util.List finderParameters)
Object[] args = { beanName, finderName, finderParameters.toArray() };
DefaultMappingException exception = new DefaultMappingException(ExceptionMessageGenerator.buildMessage(DefaultMappingException.class, FINDER_NOT_DEFINED_IN_HOME, args));
exception.setErrorCode(FINDER_NOT_DEFINED_IN_HOME);
return exception;
|
public static oracle.toplink.essentials.exceptions.DefaultMappingException | finderNotStartWithFindOrEjbSelect(java.lang.String beanName, java.lang.String finderName)
Object[] args = { beanName, finderName };
DefaultMappingException exception = new DefaultMappingException(ExceptionMessageGenerator.buildMessage(DefaultMappingException.class, FINDER_NOT_START_WITH_FIND_OR_EJBSELECT, args));
exception.setErrorCode(FINDER_NOT_START_WITH_FIND_OR_EJBSELECT);
return exception;
|
public static oracle.toplink.essentials.exceptions.DefaultMappingException | finderParameterTypeNotFound(java.lang.String beanName, java.lang.String finderName, java.lang.String finderParameterTypeString)
Object[] args = { beanName, finderName, finderParameterTypeString };
DefaultMappingException exception = new DefaultMappingException(ExceptionMessageGenerator.buildMessage(DefaultMappingException.class, FINDER_PARAMETER_TYPE_NOT_FOUND, args));
exception.setErrorCode(FINDER_PARAMETER_TYPE_NOT_FOUND);
return exception;
|
public static oracle.toplink.essentials.exceptions.DefaultMappingException | getterNotFound(java.lang.String getter, java.lang.String beanName)
Object[] args = { getter, beanName };
DefaultMappingException exception = new DefaultMappingException(ExceptionMessageGenerator.buildMessage(DefaultMappingException.class, GETTER_NOT_FOUND, args));
exception.setErrorCode(GETTER_NOT_FOUND);
return exception;
|