IMessagePrinter¶
-
public interface
IMessagePrinter
¶ Interface for printing messages.
Methods¶
print¶
print¶
-
void
print
(FileObject resource, String message, Throwable e, boolean pardoned)¶ Prints given message and exception, located at a resource. Used if the source location is not available.
Parameters: - resource – Resource the message occurred in, or null if the message was detached.
- message – Message to print.
- e – Exception to print, or null if there is no exception.
- pardoned – If the (error or warning) message is pardoned, i.e. the message is acceptable even if it indicates a problem.
print¶
-
void
print
(IProject project, String message, Throwable e, boolean pardoned)¶ Prints given message and exception, located at a project. Used if the source location or resource is not available.
Parameters: - project – Project the message occurred in.
- message – Message to print.
- e – Exception to print, or null if there is no exception.
- pardoned – If the (error or warning) message is pardoned, i.e. the message is acceptable even if it indicates a problem.