writer.text( EngineResourceHandle.getInstance( ).getMessage(
Locale locale = reportContext.getLocale( ); if(locale==null) { locale = Locale.getDefault(); } EngineResourceHandle rc = new EngineResourceHandle(locale); writer.text( rc.getMessage(
	protected boolean outputErrors( List errors )	{		// Outputs the error message at the end of the report		if ( errors != null && !errors.isEmpty( ) )		{			writer.writeCode( "	<hr style=\"color:red\"/>" );			writer.writeCode( "	<div style=\"color:red\">" );			writer.writeCode( "		<div>" );			writer.text( EngineResourceHandle.getInstance( ).getMessage(					MessageConstants.ERRORS_ON_REPORT_PAGE ), false );						writer.writeCode( "</div>" );//$NON-NLS-1$			writer.writeCode( "<br>") ;//$NON-NLS-1$			Iterator it = errors.iterator( );			int index = 0;			while ( it.hasNext( ) )			{				appendErrorMessage( index++, (ElementExceptionInfo) it.next( ) );			}			writer.writeCode( "</div>" );			return true;		}		return false;	}