|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.jbo.JboWarning
oracle.jbo.JboException
oracle.jbo.ApplicationModuleCreateException
public class ApplicationModuleCreateException
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.
JboException
,
JboException.getExceptions()
,
ApplicationModule
,
ApplicationModuleHome
,
Serialized FormField 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 |
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 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 |
---|
public ApplicationModuleCreateException(java.lang.Throwable e)
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.
e
- a detail exception.JboException
,
JboException.getExceptions()
,
ApplicationModule
,
ApplicationModuleHome
public ApplicationModuleCreateException(java.lang.String errCode, java.lang.Throwable e)
ApplicationModuleCreateException
.
The error code is passed in from the caller. The message is to be
found in CSMessageBundle
.
errCode
- the error code.e
- a detail exception. null if no detail exception.JboException
,
JboException.getExceptions()
,
CSMessageBundle
public ApplicationModuleCreateException(java.lang.Class resBundle, java.lang.String errCode, java.lang.Object[] params, java.lang.Throwable detail)
ApplicationModuleCreateException
.
The error code is passed in from the caller. The message is to be
found in the message bundle class identified by resBundle.
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.JboException
,
JboException.getExceptions()
public ApplicationModuleCreateException()
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.
JboException
,
JboException.getExceptions()
,
ApplicationModule
,
ApplicationModuleHome
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |