|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageListener
A public class that allows an implementor to deal with messages output by the generator. Also allow us to remove a direct API dependency on the internals of generator.
| Method Summary | |
|---|---|
void |
error(String message,
Throwable throwable)
Report an error. |
void |
info(String message)
Report informative message. |
void |
warning(String message,
Throwable throwable)
Report a warning. |
| Method Detail |
|---|
void warning(String message,
Throwable throwable)
message - The message to display to the user, if null the message
from the throwable is used instead.throwable - The exception that triggered this message, can be null
if the message is not null.void info(String message)
message - The message to display to the user.
void error(String message,
Throwable throwable)
message - The message to display to the user, if null the message
from the throwable is used instead.throwable - The exception that triggered this message, can be null
if the message is not null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||