Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.common
Class DiagPrereqCycleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.apps.fnd.appllcm.sdk.common.forkparent.ForkLCMException
                  extended by oracle.apps.fnd.appllcm.sdk.common.LCMException
                      extended by oracle.apps.fnd.appltest.diagfwk.common.DiagfwkException
                          extended by oracle.apps.fnd.appltest.diagfwk.common.DiagPrereqCycleException
All Implemented Interfaces:
java.io.Serializable, oracle.apps.fnd.appllcm.sdk.common.LCMDetailedException, oracle.apps.fnd.appllcm.sdk.common.LCMTranslatedException

public class DiagPrereqCycleException
extends DiagfwkException

Prerequisite Cycle exception class for diagnostics framework.

This is a runtime exception class extends from the base DiagfwkException class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.apps.fnd.appllcm.sdk.common.forkparent.ForkLCMException
isDetailInternallyGenerated
 
Constructor Summary
DiagPrereqCycleException(oracle.apps.fnd.appllcm.sdk.common.ResourceRef reason, java.lang.Throwable cause, java.lang.String pSourceId, java.lang.String pPrereqId)
          Constructs an exception with a localizable reason and a root cause exception.
 
Method Summary
protected  java.lang.String getMPrereqId()
           
protected  java.lang.String getMSourceId()
           
 
Methods inherited from class oracle.apps.fnd.appllcm.sdk.common.LCMException
getConciseMessageRef, getDetailMessage, getDetailMessageRef, getLocale, getLocalizedMessage, getMessage, getMessageRef, setDetailMessageRef, setLocale, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiagPrereqCycleException

public DiagPrereqCycleException(oracle.apps.fnd.appllcm.sdk.common.ResourceRef reason,
                                java.lang.Throwable cause,
                                java.lang.String pSourceId,
                                java.lang.String pPrereqId)
Constructs an exception with a localizable reason and a root cause exception. It also provides cycle exception details - captures the first pair (at the lowest level in the prereq tree) of offending Source and Prereq Id's. Following is a likely scenario that may lead to such exception - Say, having started building a prereq tree, process has found few levels of nested Prereq Id's. (Note that process starts with the lowest level node, a source id.) Going up the Prereq tree, process finds that a higher level id (in the nested prereq tree) has declared a lower level (in the same prereq tree) id as its Prereq. This should throw the cycle exception.

Parameters:
reason - - localizable exception reason
cause - - nested exception that precipitated this on
pSourceId - - Higher level Id that has caused cycle
pPrereqId - - Lower level Id in the tree
Method Detail

getMSourceId

protected java.lang.String getMSourceId()
Returns:
mSourceId - Source Test ID or Source Tag Value Id

getMPrereqId

protected java.lang.String getMPrereqId()
Returns:
mPrereqId - Prerequsite Test ID or Prerequsite Tag Value Id

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.