|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jfun.yan.xml.ConfigurationException
jfun.yan.xml.CyclicModuleDependencyException
public class CyclicModuleDependencyException
Represents an exception when module files have circular dependency.
| Constructor Summary | |
|---|---|
CyclicModuleDependencyException(java.lang.String msg,
Location loc)
Create a CyclicModuleDependencyException object. |
|
| Method Summary | |
|---|---|
java.util.Stack |
getDependencyTrace()
Get the dependency trace that caused the cycle. |
void |
printDependencyTrace()
Prints the dependency trace to the standard error output. |
void |
printDependencyTrace(java.io.PrintStream out)
Print the dependency trace. |
void |
printDependencyTrace(java.io.PrintWriter out)
Print the dependency trace. |
void |
printStackTrace(java.io.PrintStream s)
|
void |
printStackTrace(java.io.PrintWriter s)
|
void |
push(java.lang.Object obj)
Pushes a frame to the exception. |
| Methods inherited from class jfun.yan.xml.ConfigurationException |
|---|
getLocation |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CyclicModuleDependencyException(java.lang.String msg,
Location loc)
msg - the error message.loc - the location where the dependency cycle is detected.| Method Detail |
|---|
public void push(java.lang.Object obj)
obj - the frame.public java.util.Stack getDependencyTrace()
public void printDependencyTrace(java.io.PrintStream out)
out - the output stream.public void printDependencyTrace(java.io.PrintWriter out)
out - the output writer.public void printDependencyTrace()
public void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||