API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.tools. Diagnostic View Source
Author(s)
Peter von der Ahé
Jonathan Gibbons
Since
1.6
Version
Serial
Hierarchy
 Diagnostic
Subinterfaces
Description
public interface Diagnostic
  Interface for diagnostics from tools.
See also:   
Methods
Hide/Show inherited methods
public String getCode ()
  Gets a diagnostic code indicating the type of diagnostic.
public long getColumnNumber ()
  Gets the column number of the character offset returned by Diagnostic.getPosition().
public long getEndPosition ()
  Gets the character offset from the beginning of the file associated with this diagnostic that indicates the end of the problem.
public Kind getKind ()
  Gets the kind of this diagnostic, for example, error or warning.
public long getLineNumber ()
  Gets the line number of the character offset returned by Diagnostic.getPosition().
public String getMessage (Locale locale)
  Gets a localized message for the given locale.
public long getPosition ()
  Gets a character offset from the beginning of the source object associated with this diagnostic that indicates the location of the problem.
public S getSource ()
  Gets the source object associated with this diagnostic.
public long getStartPosition ()
  Gets the character offset from the beginning of the file associated with this diagnostic that indicates the start of the problem.
Fields
Hide/Show inherited fields
publicfinalstatic long NOPOS = "-1"
Used to signal that no position is available.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar