|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| 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.adfnmc.AdfNmcException
oracle.jbo.JboWarning
oracle.jbo.JboException
public class JboException
| Field Summary | |
|---|---|
protected boolean |
mHasPeerException
|
| Fields inherited from class oracle.jbo.JboWarning |
|---|
mHelper, SEVERITY_ERROR, SEVERITY_RECOVERABLE_ERROR, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING |
| Fields inherited from class oracle.adfnmc.AdfNmcException |
|---|
CLASS_INSTANCE, PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM |
| Constructor Summary | |
|---|---|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
Creates a translatable exception. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
java.lang.Exception[] excs)
Creates a translatable exception. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
JboException[] exceptions)
Creates a translatable exception. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
ResourceBundleDef resBundleDef,
java.lang.String errorCode,
java.lang.Object[] params)
Creates a translatable exception. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String message)
Create a non-formattable exception. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String message,
java.lang.String errorCode,
java.lang.Object[] params)
Creates a formattable but non-localizable exception. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable ex)
Converts an exception into a non-formattable JboException. |
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable cause,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
|
|
JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable ex,
java.lang.String message,
java.lang.Object[] params)
|
|
| Method Summary | |
|---|---|
void |
addToExceptions(java.lang.Throwable exception)
Adds an exception to the list of detail exceptions. |
void |
doEntityToVOMapping(ApplicationModule rootAm,
ViewObject[] vos)
|
java.lang.Throwable[] |
getExceptions()
|
protected void |
getStringContent(java.lang.StringBuffer buffer)
|
boolean |
hasPeerExceptions()
|
boolean |
needsEntityToVOMapping()
|
void |
setExceptions(java.lang.Throwable[] details)
|
void |
setNeedsEntityToVOMapping(boolean flag)
|
| Methods inherited from class oracle.adfnmc.AdfNmcException |
|---|
addLogMessage, addLogMessage, getCallerInfo, getPriority, getStringContent, isFatal, printLogMessages, setFatal, setInnerException, setPriority, toLogString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
printStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean mHasPeerException
| Constructor Detail |
|---|
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
java.lang.Exception[] excs)
**Primarily for use by Oracle Applications.** BC4J framework does not use this exception nor throws such an exception.
resBundleClass - a subclass class of the ResourceBundle that will supply the message
text.errorCode - an error code associated with a message in the resource bundle.params - the error message's parameters.excs - An array if exceptions that this exception bundles as peer exceptions.java.util.ResourceBundle
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
JboException[] exceptions)
resBundleClass - a subclass class of the ResourceBundle that will supply the message
text.errorCode - an error code associated with a message in the resource bundle.params - the error message's parameters.exceptions - array of exceptions that this collection exception contains.java.util.ResourceBundle
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String message)
message - the text of the message.
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
ResourceBundleDef resBundleDef,
java.lang.String errorCode,
java.lang.Object[] params)
resBundleDef - a ResourceBundleDef.errorCode - an error code associated with a message in the resource bundle.params - the error message's parameters.java.util.ResourceBundle
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable ex)
JboException.
ex - an exception to be added to the details list.
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable ex,
java.lang.String message,
java.lang.Object[] params)
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
resBundleClass - a subclass class of the ResourceBundle that will supply the message
text.errorCode - an error code associated with a message in the resource bundle.params - the error message's parameters.java.util.ResourceBundle
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String message,
java.lang.String errorCode,
java.lang.Object[] params)
If a localizable exception is desired, use the
JboException(Class, String, Object[]) constructor.
message - the unformatted text of the message.errorCode - an error code.params - the error message's parameters.java.util.ResourceBundle
public JboException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable cause,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
| Method Detail |
|---|
public void setExceptions(java.lang.Throwable[] details)
public java.lang.Throwable[] getExceptions()
public final void setNeedsEntityToVOMapping(boolean flag)
public final boolean needsEntityToVOMapping()
public void doEntityToVOMapping(ApplicationModule rootAm,
ViewObject[] vos)
public final boolean hasPeerExceptions()
public void addToExceptions(java.lang.Throwable exception)
exception - a Throwable exception object to add to the details list.protected void getStringContent(java.lang.StringBuffer buffer)
getStringContent in class AdfNmcException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||