|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryLookupFailureCallback
An interface which Repository class lookup failures are reported to. Some of the analysis classes make use of class hierarchy information. In collecting this information, errors can result because some classes in the hierarchy can't be found; e.g., when the runtime classpath is incomplete. When possible, the analysis classes will be conservative in the event of a lookup failure. However, it is important to report such lookup failures to the user. So, classes that use the Repository should have a callback object to report lookup failures to.
Method Summary | |
---|---|
void |
logError(java.lang.String message)
Log an error that occurs while performing analysis. |
void |
logError(java.lang.String message,
java.lang.Throwable e)
Log an error that occurs while performing analysis. |
void |
reportMissingClass(java.lang.ClassNotFoundException ex)
Called to report a lookup failure. |
void |
reportSkippedAnalysis(JavaClassAndMethod method)
Report that we skipped some analysis of a method |
Method Detail |
---|
void reportMissingClass(java.lang.ClassNotFoundException ex)
ex
- a ClassNotFoundException resulting from the failurevoid reportSkippedAnalysis(JavaClassAndMethod method)
method
- void logError(java.lang.String message)
message
- the error messagevoid logError(java.lang.String message, java.lang.Throwable e)
message
- the error messagee
- the exception which is the underlying cause of the error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |