Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.jbo
Class ApplicationModuleCreateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.jbo.JboWarning
                  extended by oracle.jbo.JboException
                      extended by oracle.jbo.ApplicationModuleCreateException
All Implemented Interfaces:
java.io.Serializable, JboMessage, MetaObjectBase, Properties

public class ApplicationModuleCreateException
extends JboException

Indicates failure that an Application Module could not be created.

This exception may be thrown by ApplicationModuleHome while trying to create a root Application Module (while processing the ApplicationModuleHome.create() call). In that case, the exception's detail (which may be retrieved by calling JboException.getExceptions()) will likely contain the root cause of the problem.

It may also be thrown while creating nested Application Module. In that case, it represents some problem in the Application Module's definition. For example, if the system detects a circular reference of Application Modules (e.g., Application Module definition AA contains a nested Application Module of definition BB, which in turn contains a nested Application Module of definition AA), this exception will be thrown.

Since:
JDeveloper 3.0
See Also:
JboException, JboException.getExceptions(), ApplicationModule, ApplicationModuleHome, Serialized Form

Field Summary
 
Fields inherited from class oracle.jbo.JboException
mHasPeerException
 
Fields inherited from class oracle.jbo.JboWarning
mHelper, SEVERITY_ERROR, SEVERITY_RAC_RECOVERABLE_ERROR, SEVERITY_RECOVERABLE_ERROR, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING
 
Fields inherited from interface oracle.jbo.common.MetaObjectBase
TYP_APP_MODULE, TYP_ATTRIBUTE, TYP_ATTRIBUTE_LIST_WITH_DEF, TYP_COMPONENT_OBJECT, TYP_DATA_CONTROL, TYP_DEF_ANY, TYP_DEF_APP_MODULE, TYP_DEF_ASSOC_END, TYP_DEF_ATTRIBUTE, TYP_DEF_COMPONENT_OBJECT, TYP_DEF_DOMAIN, TYP_DEF_ENTITY_ASSOC, TYP_DEF_ENTITY_OBJECT, TYP_DEF_KEY, TYP_DEF_LIST_BINDING, TYP_DEF_METHOD, TYP_DEF_PACKAGE, TYP_DEF_VIEW_ACCESSOR, TYP_DEF_VIEW_LINK, TYP_DEF_VIEW_LINK_END, TYP_DEF_VIEW_OBJECT, TYP_DOMAIN, TYP_ENTITY_ASSOC, TYP_ENTITY_OBJECT, TYP_ENTITY_ROW, TYP_ENTITY_ROW_SET, TYP_ENTITY_ROW_SET_ITERATOR, TYP_ENTITY_USAGE, TYP_PACKAGE, TYP_PERS_DEF_APP_MODULE, TYP_PERS_DEF_ATTRIBUTE, TYP_PERS_DEF_COMPONENT_OBJECT, TYP_PERS_DEF_DOMAIN, TYP_PERS_DEF_ENTITY_ASSOC, TYP_PERS_DEF_ENTITY_OBJECT, TYP_PERS_DEF_OFFSET, TYP_PERS_DEF_PACKAGE, TYP_PERS_DEF_VARIABLE, TYP_PERS_DEF_VIEW_LINK, TYP_PERS_DEF_VIEW_OBJECT, TYP_SERVICE_VIEW_USAGE, TYP_SORT_CRITERIA, TYP_TRANSACTION, TYP_TRIGGER_TYPE, TYP_VALIDATOR_TYPE, TYP_VARIABLE, TYP_VARIABLE_WHERE_CLAUSE, TYP_VIEW_CRITERIA, TYP_VIEW_CRITERIA_ITEM, TYP_VIEW_CRITERIA_ROW, TYP_VIEW_LINK, TYP_VIEW_OBJECT, TYP_VIEW_ROW, TYP_VIEW_ROW_SET, TYP_VIEW_ROW_SET_ITERATOR
 
Constructor Summary
ApplicationModuleCreateException()
          Creates an instance of ApplicationModuleCreateException.
ApplicationModuleCreateException(java.lang.Class resBundle, java.lang.String errCode, java.lang.Object[] params, java.lang.Throwable detail)
          Creates an instance of ApplicationModuleCreateException.
ApplicationModuleCreateException(java.lang.String errCode, java.lang.Throwable e)
          Creates an instance of ApplicationModuleCreateException.
ApplicationModuleCreateException(java.lang.Throwable e)
          Creates an instance of ApplicationModuleCreateException.
 
Method Summary
 
Methods inherited from class oracle.jbo.JboException
addToDetails, addToExceptions, containsException, doEntityToVOMapping, getExceptions, getSource, hasPeerExceptions, needsEntityToVOMapping, printStackTrace, printStackTrace, printStackTrace, setApplicationModule, setDetails, setExceptions, setNeedsEntityToVOMapping, setSource
 
Methods inherited from class oracle.jbo.JboWarning
getBaseMessage, getDetailMessage, getDetails, getErrorCode, getErrorParameters, getErrorParametersMap, getJboExceptionHelper, getLocalizedBaseMessage, getLocalizedMessage, getMessage, getProductCode, getProperties, getProperty, getProperty, getResourceClass, getResourceName, getSeverity, getTypeNameFromId, isAppendCodes, isExceptionInNonUIContext, isLocalizable, isWarning, refreshProperty, setAppendCodes, setErrorParameters, setErrorParametersMap, setLocaleContext, setProperty, setSeverity
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationModuleCreateException

public ApplicationModuleCreateException(java.lang.Throwable e)
Creates an instance of ApplicationModuleCreateException. This constructor uses EXC_APPMODULE_CREATE error message in oracle.jbo.CSMessageBundle.

This constructor is used by ApplicationModuleHome.create() to report a problem from another subsystem while trying to create a root Application Module. Use JboException.getExceptions()) to retrieve the root cause of the problem.

Parameters:
e - a detail exception.
See Also:
JboException, JboException.getExceptions(), ApplicationModule, ApplicationModuleHome

ApplicationModuleCreateException

public ApplicationModuleCreateException(java.lang.String errCode,
                                        java.lang.Throwable e)
Creates an instance of ApplicationModuleCreateException. The error code is passed in from the caller. The message is to be found in CSMessageBundle.

Parameters:
errCode - the error code.
e - a detail exception. null if no detail exception.
See Also:
JboException, JboException.getExceptions(), CSMessageBundle

ApplicationModuleCreateException

public ApplicationModuleCreateException(java.lang.Class resBundle,
                                        java.lang.String errCode,
                                        java.lang.Object[] params,
                                        java.lang.Throwable detail)
Creates an instance of ApplicationModuleCreateException. The error code is passed in from the caller. The message is to be found in the message bundle class identified by resBundle.

Parameters:
resBundle - resource bundle (message) class where the message associated with errCode is to be found. BC4J takes care of identifying a locale specific message bundle based on the session's locale (Session.getLocale()). Thus, the caller should pass in the base message bundle class, not a locale specific message bundle class.
errCode - the error code.
params - an array of error information (parameters).
detail - a detail exception. null if no detail exception.
See Also:
JboException, JboException.getExceptions()

ApplicationModuleCreateException

public ApplicationModuleCreateException()
Creates an instance of ApplicationModuleCreateException. This constructor uses EXC_APPMODULE_CREATE error message in oracle.jbo.CSMessageBundle.

This constructor is an abbreviated version of ApplicationModuleCreateException(Exception) where no detail exception is available. See ApplicationModuleCreateException(Exception) for further details.

See Also:
JboException, JboException.getExceptions(), ApplicationModule, ApplicationModuleHome

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

Copyright © 1997, 2011, Oracle. All rights reserved.