oracle.adf.controller.struts.util
Class ErrorReporting
java.lang.Object
oracle.adf.controller.struts.util.ErrorReporting
- public class ErrorReporting
- extends java.lang.Object
Helper class to transform exceptions thrown by the ADF model into Struts ActionErrors.
- Since:
- 9.0.5
Method Summary |
static void |
addError(org.apache.struts.action.ActionErrors errors, int num, int lev, java.lang.Throwable ex)
Adds an exception to the ActionErrors collection. |
static void |
transferErrorsToStrutsCollection(oracle.adf.model.binding.DCBindingContainer container, org.apache.struts.action.ActionErrors errors)
Transfer binding container runtime errors to the Struts ActionErrors collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorReporting
public ErrorReporting()
transferErrorsToStrutsCollection
public static void transferErrorsToStrutsCollection(oracle.adf.model.binding.DCBindingContainer container,
org.apache.struts.action.ActionErrors errors)
- Transfer binding container runtime errors to the Struts ActionErrors collection.
-
- Parameters:
container
- the binding container
errors
- the ActionErrors object where new errors will be added.
addError
public static void addError(org.apache.struts.action.ActionErrors errors,
int num,
int lev,
java.lang.Throwable ex)
- Adds an exception to the ActionErrors collection. Recursive routine traversing the exception tree.
-
- Parameters:
errors
- the collection of errors
num
- the error index
lev
- the current level of recursion
ex
- the exception node being treated
Copyright © 1997, 2004, Oracle. All rights reserved.