Reports an error using the given message, exception and error code. This
implementation will write out the message to {@link System#err} on the
first call and all subsequent calls are ignored. A subclass of this class
should override this method.
synchronized (this) {
if (called) {
return;
}
called = true;
}
System.err.println(this.getClass().getName()
+ ": " + FAILURES[errorCode]); //$NON-NLS-1$
if (message != null) {
// logging.1E=Error message - {0}
System.err.println(Messages.getString("logging.1E", message)); //$NON-NLS-1$
}
if (exception != null) {
// logging.1F=Exception - {0}
System.err.println(Messages.getString("logging.1F", exception)); //$NON-NLS-1$
}