Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JDT
Release 3.5

com.sun.mirror.apt
Interface Messager

All Known Subinterfaces:
EclipseMessager

public interface Messager

A Messager provides the way for an annotation processor to report error messages, warnings, and other notices.

Since:
1.5

Method Summary
 void printError ( SourcePosition pos, String msg)
          Prints an error message.
 void printError ( String msg)
          Prints an error message.
 void printNotice ( SourcePosition pos, String msg)
          Prints a notice.
 void printNotice ( String msg)
          Prints a notice.
 void printWarning ( SourcePosition pos, String msg)
          Prints a warning message.
 void printWarning ( String msg)
          Prints a warning message.
 

Method Detail

printError

void printError(
String msg)
Prints an error message. Equivalent to printError(null, msg).

Parameters:
msg - the message, or an empty string if none

printError

void printError(
SourcePosition pos,
                
String msg)
Prints an error message.

Parameters:
pos - the position where the error occured, or null if it is unknown or not applicable
msg - the message, or an empty string if none

printWarning

void printWarning(
String msg)
Prints a warning message. Equivalent to printWarning(null, msg).

Parameters:
msg - the message, or an empty string if none

printWarning

void printWarning(
SourcePosition pos,
                  
String msg)
Prints a warning message.

Parameters:
pos - the position where the warning occured, or null if it is unknown or not applicable
msg - the message, or an empty string if none

printNotice

void printNotice(
String msg)
Prints a notice. Equivalent to printNotice(null, msg).

Parameters:
msg - the message, or an empty string if none

printNotice

void printNotice(
SourcePosition pos,
                 
String msg)
Prints a notice.

Parameters:
pos - the position where the noticed occured, or null if it is unknown or not applicable
msg - the message, or an empty string if none

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire