oracle.apps.fnd.appltest.diagfwk.common
Class DiagPrereqCycleException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               oracle.apps.fnd.appllcm.sdk.common.forkparent.ForkLCMException
oracle.apps.fnd.appllcm.sdk.common.forkparent.ForkLCMException
                   oracle.apps.fnd.appllcm.sdk.common.LCMException
oracle.apps.fnd.appllcm.sdk.common.LCMException
                       oracle.apps.fnd.appltest.diagfwk.common.DiagfwkException
oracle.apps.fnd.appltest.diagfwk.common.DiagfwkException
                           oracle.apps.fnd.appltest.diagfwk.common.DiagPrereqCycleException
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
 
| 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.
 | 
 
 
| 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 | 
 
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
 
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
 
                     Copyright © 2012 Oracle. All Rights Reserved.