APIdia Launch Partner
Top Description Methods
javax.tools

public Interface DiagnosticListener<S>

Known Direct Implementers
javax.tools.DiagnosticCollector
Type Parameters
<S>
the type of source objects used by diagnostics received by this listener

Interface for receiving diagnostics from tools.
Since
1.6

Method Summary

Modifier and TypeMethod and Description
public void
report(Diagnostic<? extends S>
a diagnostic representing the problem that was found
diagnostic
)

Invoked when a problem is found.

Method Detail

reportback to summary
public void report(Diagnostic<? extends S> diagnostic)

Invoked when a problem is found.

Parameters
diagnostic:Diagnostic<? extends S>

a diagnostic representing the problem that was found

Exceptions
NullPointerException:
if the diagnostic argument is null and the implementation cannot handle null arguments