docs: @Override
  	public void format(final LoggingEvent event, final StringBuffer toAppendTo) {
  
  		ThrowableInformation throwableInformation = event.getThrowableInformation();
  
  		if (throwableInformation != null) {
  
  			Throwable throwable = throwableInformation.getThrowable();
  
  			if (throwable instanceof ApplicationExceptionInterface) {// NOPMD
  				final ApplicationExceptionInterface ApplicationExceptionInterface = (ApplicationExceptionInterface) throwable;
  				toAppendTo.append("[Error code: ");
  				toAppendTo.append(ApplicationExceptionInterface.getErrorCode() == null ? "%NO_ERROR_CODE%" : ApplicationExceptionInterface.getErrorCode().toString());
  				toAppendTo.append("] ");
  
  			}
  		}
  	}