|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--oracle.jbo.JboException | +--oracle.jbo.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 oracle.jbo.JboException.getDetails()
) 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
,
oracle.jbo.JboException#getDetail()
,
ApplicationModule
,
ApplicationModuleHome
, Serialized FormFields inherited from class oracle.jbo.JboException |
mHasPeerException |
Constructor Summary |
ApplicationModuleCreateException()
Creates an instance of ApplicationModuleCreateException . |
ApplicationModuleCreateException(java.lang.Class resBundle,
java.lang.String errCode,
java.lang.Object[] params,
java.lang.Exception detail)
Creates an instance of ApplicationModuleCreateException . |
ApplicationModuleCreateException(java.lang.Exception e)
Creates an instance of ApplicationModuleCreateException . |
ApplicationModuleCreateException(java.lang.String errCode,
java.lang.Exception e)
Creates an instance of ApplicationModuleCreateException . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ApplicationModuleCreateException(java.lang.Exception 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 oracle.jbo.JboException.getDetails()
)
to retrieve the root cause of the problem.
e
- a detail exception.JboException
,
oracle.jbo.JboException#getDetail()
,
ApplicationModule
,
ApplicationModuleHome
public ApplicationModuleCreateException(java.lang.String errCode, java.lang.Exception 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
,
oracle.jbo.JboException#getDetail()
,
CSMessageBundle
public ApplicationModuleCreateException(java.lang.Class resBundle, java.lang.String errCode, java.lang.Object[] params, java.lang.Exception 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).e
- a detail exception. null if no detail exception.JboException
,
oracle.jbo.JboException#getDetail()
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
,
oracle.jbo.JboException#getDetail()
,
ApplicationModule
,
ApplicationModuleHome
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |