Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle
11g Release 1 (11.1.1.5.0)

E10652-06


oracle.adf.controller.struts.util
Class ErrorReporting

java.lang.Object
  extended by oracle.adf.controller.struts.util.ErrorReporting


Deprecated. Use equivalent classes in oracle.adf.controller.v2

public class ErrorReporting
extends java.lang.Object

Helper class to transform exceptions thrown by the ADF model into Struts ActionErrors.

Since:
9.0.5

Constructor Summary
ErrorReporting()
          Deprecated.  

 

Method Summary
static void addError(org.apache.struts.action.ActionErrors errors, int num, int lev, java.lang.Throwable ex)
          Deprecated. Adds an exception to the ActionErrors collection.
static java.lang.String quote(java.lang.String x)
          Deprecated.  
static void transferErrorsToStrutsCollection(oracle.adf.model.binding.DCBindingContainer container, org.apache.struts.action.ActionErrors errors)
          Deprecated. 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

 

Constructor Detail

ErrorReporting

public ErrorReporting()
Deprecated. 

Method Detail

transferErrorsToStrutsCollection

public static void transferErrorsToStrutsCollection(oracle.adf.model.binding.DCBindingContainer container,
                                                    org.apache.struts.action.ActionErrors errors)
Deprecated. 
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)
Deprecated. 
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

quote

public static java.lang.String quote(java.lang.String x)
Deprecated. 

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle
11g Release 1 (11.1.1.5.0)

E10652-06


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