com.sun.tools.javac.processing.AnnotationProcessingError Java Examples

The following examples show how to use com.sun.tools.javac.processing.AnnotationProcessingError. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: TencentKona-8   Author: Tencent   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #2
Source Project: jdk8u60   Author: chenghanpeng   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #3
Source Project: java-n-IDE-for-Android   Author: shenghuntianlang   File: Main.java    License: Apache License 2.0 4 votes vote down vote up
/**
 * Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    Log.printLines(out,
            getLocalizedString("msg.proc.annotation.uncaught.exception"));
    ex.getCause().printStackTrace(out);
}
 
Example #4
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #5
Source Project: lua-for-android   Author: qtiuto   File: Main.java    License: BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #6
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #7
Source Project: javaide   Author: tranleduy2000   File: Main.java    License: GNU General Public License v3.0 4 votes vote down vote up
/**
 * Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    Log.printLines(out,
            getLocalizedString("msg.proc.annotation.uncaught.exception"));
    ex.getCause().printStackTrace(out);
}
 
Example #8
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #9
Source Project: hottub   Author: dsrg-uoft   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #10
Source Project: openjdk-8-source   Author: keerath   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}
 
Example #11
Source Project: openjdk-8   Author: bpupadhyaya   File: Main.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Print a message reporting an uncaught exception from an
 * annotation processor.
 */
void apMessage(AnnotationProcessingError ex) {
    log.printLines(PrefixKind.JAVAC, "msg.proc.annotation.uncaught.exception");
    ex.getCause().printStackTrace(log.getWriter(WriterKind.NOTICE));
}