Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.impl.report
Class ErrorInfoExtnImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ErrorInfoExtnImpl
All Implemented Interfaces:
Container, ErrorInfo, ReportConstants, DiagConstants, ContainerExtn, ErrorInfoExtn

public class ErrorInfoExtnImpl
extends ContainerExtnImpl
implements ErrorInfoExtn

Maintains a JAXB ErrorInfoType object


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.ErrorInfo
ErrorInfo.ErrorType, ErrorInfo.Severity
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Field Summary
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.ReportConstants
ERROR_TYPE_DIAG, ERROR_TYPE_EXEC, MSG_ATTENTION, MSG_NORMAL, SEVERITY_CRITICAL, SEVERITY_WARNING
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
APPS_MSG_ID_TAG_NAME, CFG_ADR_PROVIDER_CLASS, CFG_CACHE_PROVIDER_CLASS, CFG_CRED_PROVIDER_CLASS, CFG_DAO_FACTORY_CLASS, CFG_DB_CONN_INFO_PROVIDER_CLASS, CFG_DB_CONN_PROVIDER_CLASS, CFG_NLS_PROVIDER_CLASS, CFG_PLSQL_PROVIDER_CLASS, CFG_PROFILE_PROVIDER_CLASS, CFG_SECURITY_PROVIDER_CLASS, CFG_SESSION_INFO_PROVIDER_CLASS, CFG_URL_PROVIDER_FACTORY_CLASS, CFG_WLS_MBEANSRV_CONNINFO_PROVIDER_CLASS, DATA_SECURITY_PERMISSION_ALLOWED, DATA_SECURITY_PERMISSION_NOT_ALLOWED, DELIM_URL, EXEC_MODE_CLI, EXEC_MODE_ESS, EXEC_MODE_INCIDENT, EXEC_MODE_JAVA, EXEC_MODE_UI, EXECUTABLE_TYPE_JAVA, EXECUTABLE_TYPE_PLSQL, EXECUTABLE_TYPE_TESTREF, FORMAT_HTML, FORMAT_XML, GUID_ORACLE_MINUS1, GUID_ORACLE_ZERO, INPUTS_STATUS_ALL_OPT_INPUTS, INPUTS_STATUS_NO_INPUTS, INPUTS_STATUS_REQ_INPUTS_NO_DEFAULTS, INPUTS_STATUS_REQ_INPUTS_W_DEFAULTS, IO_FLAG_I, IO_FLAG_O, JMX_API_BASE_OBJECT_NAME, LINK_EXTERNAL, LINK_INTERNAL, LINK_METALINK, N, NLS_BUNDLE_JAVA_RES, NLS_BUNDLE_MSG_SVC, NLS_BUNDLE_RES_REF, NLS_BUNDLE_XLIFF, NO, NULL, ODF_MBEAN_DOMAIN_NAME, PARAM_MON_INTERVAL, PLSQL_DEBUG_ENABLED_SYSTEM_PROP, PREREQ_TYPE_TAG_VALUE, PREREQ_TYPE_TEST, SECONDS_IN_ONE_DAY, SECONDS_IN_ONE_HOUR, STATUS_CANCELED, STATUS_EXECERROR, STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_WARNING, SYS_PROP_MAX_MONITOR_INTERNVAL, SYS_PROP_MAX_NUM_THREADS, SYSPROP_APPCONNFILE, SYSPROP_DIAG_CONFIG_FILE, TAG_TYPE_DIAG, TAG_TYPE_TAXONOMY, TEST_TYPE_DECL, TEST_TYPE_JAVA, USER_NAME, WEB_APP_NAME_TAG_NAME, Y, YES
 
Constructor Summary
ErrorInfoExtnImpl()
           
 
Method Summary
protected  void fillJAXBMetadataObj(ErrInfoType pObj)
           
 Message getErrorMsg()
          Gets the error message.
 ErrorInfo.ErrorType getErrorType()
          Gets the error type for this error
 FixInfo getFixInfo()
          Gets the fix information for this error
 ErrInfoType getJAXBMetadataObj()
          Returns the underlying JAXB ErrInfoType object
 ErrorInfo.Severity getSeverity()
          Gets the severity for the error.
 java.lang.String getTrace()
          Gets the stack trace for the error
protected  void init()
           
 void setErrorMsg(Message pErrMsg)
          Sets the message for the error.
 void setErrorType(ErrorInfo.ErrorType pErrorType)
          Sets the error type for this error.
 void setErrorType(java.lang.String pErrorType)
           
 void setFixInfo(FixInfo pFixInfo)
          Sets a fix information for the error
 void setJAXBMetadataObj(ErrInfoType pObj)
          Sets the given underlying JAXB ErrInfoType object
 void setSeverity(ErrorInfo.Severity pSeverity)
          Sets the severity of the error.
 void setSeverity(java.lang.String pSeverity)
           
 void setTrace(java.lang.String pTrace)
          Sets the stack trace for the error
 void setTrace(java.lang.Throwable t)
          Converts the Throwable.stackTrace to a string and adds the the JAXB object
 void visitAll(ReportVisitor pVisitor)
          Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
copy, copy, fillJAXBMetadataObj, getMask, getObjectFactory, setJAXBMetadataObj, setMask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Container
getMask, setMask
 

Constructor Detail

ErrorInfoExtnImpl

public ErrorInfoExtnImpl()
Method Detail

init

protected void init()

getJAXBMetadataObj

public ErrInfoType getJAXBMetadataObj()
Description copied from interface: ErrorInfoExtn
Returns the underlying JAXB ErrInfoType object

Specified by:
getJAXBMetadataObj in interface ContainerExtn
Specified by:
getJAXBMetadataObj in interface ErrorInfoExtn
Returns:
the underlying JAXB ErrInfoType object for this report

fillJAXBMetadataObj

protected void fillJAXBMetadataObj(ErrInfoType pObj)

setJAXBMetadataObj

public void setJAXBMetadataObj(ErrInfoType pObj)
Description copied from interface: ErrorInfoExtn
Sets the given underlying JAXB ErrInfoType object

Specified by:
setJAXBMetadataObj in interface ErrorInfoExtn
Parameters:
pObj - the underlying JAXB ErrInfoType object for this report

setSeverity

public void setSeverity(ErrorInfo.Severity pSeverity)
Description copied from interface: ErrorInfo
Sets the severity of the error.

Specified by:
setSeverity in interface ErrorInfo
Parameters:
pSeverity - severity of the error.

setSeverity

public void setSeverity(java.lang.String pSeverity)

setTrace

public void setTrace(java.lang.String pTrace)
Description copied from interface: ErrorInfo
Sets the stack trace for the error

Specified by:
setTrace in interface ErrorInfo
Parameters:
pTrace - the stack trace for the error

setTrace

public void setTrace(java.lang.Throwable t)
Converts the Throwable.stackTrace to a string and adds the the JAXB object

Specified by:
setTrace in interface ErrorInfo
Parameters:
t - any Throwable exception

setErrorMsg

public void setErrorMsg(Message pErrMsg)
Description copied from interface: ErrorInfo
Sets the message for the error.

Specified by:
setErrorMsg in interface ErrorInfo
Parameters:
pErrMsg - message for the error.

setErrorType

public void setErrorType(java.lang.String pErrorType)

setErrorType

public void setErrorType(ErrorInfo.ErrorType pErrorType)
Description copied from interface: ErrorInfo
Sets the error type for this error.

Specified by:
setErrorType in interface ErrorInfo
Parameters:
pErrorType - the error type for this error

setFixInfo

public void setFixInfo(FixInfo pFixInfo)
Description copied from interface: ErrorInfo
Sets a fix information for the error

Specified by:
setFixInfo in interface ErrorInfo
Parameters:
pFixInfo - fix information for the error

getSeverity

public ErrorInfo.Severity getSeverity()
Description copied from interface: ErrorInfo
Gets the severity for the error.

Specified by:
getSeverity in interface ErrorInfo
Returns:
the severity for the error.

getTrace

public java.lang.String getTrace()
Description copied from interface: ErrorInfo
Gets the stack trace for the error

Specified by:
getTrace in interface ErrorInfo
Returns:
the stack trace for the error if one is set.

getErrorMsg

public Message getErrorMsg()
Description copied from interface: ErrorInfo
Gets the error message.

Specified by:
getErrorMsg in interface ErrorInfo
Returns:
the error message.

getErrorType

public ErrorInfo.ErrorType getErrorType()
Description copied from interface: ErrorInfo
Gets the error type for this error

Specified by:
getErrorType in interface ErrorInfo
Returns:
the error type for this error.

getFixInfo

public FixInfo getFixInfo()
Description copied from interface: ErrorInfo
Gets the fix information for this error

Specified by:
getFixInfo in interface ErrorInfo
Returns:
the fix information for this error.

visitAll

public void visitAll(ReportVisitor pVisitor)
Description copied from class: ContainerExtnImpl
Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited.

Specified by:
visitAll in class ContainerExtnImpl
Parameters:
pVisitor - visitor class to be invoked for each child element visited.

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.