org.jboss.seam
public class CyclicDependencyException extends IllegalStateException
BijectionInterceptor detects that a
component's dependencies cannot be injected due to a cyclic dependency. As
the exception is passed up the stack, the call sequence is recorded so that a
useful exception message can be constructed.| Constructor and Description |
|---|
CyclicDependencyException() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInvocation(String componentName,
Method method)
Records this invocation's component name and method to be displayed in
getMessage(), unless this invocation is not part of the detected
cycle. |
String |
getMessage() |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic void addInvocation(String componentName, Method method)
getMessage(), unless this invocation is not part of the detected
cycle. This method will be successively called as the exception is
propagated up the stack.componentName - method - public String getMessage()
getMessage in class ThrowableCopyright © 2015 Seam Framework. All Rights Reserved.