}
catch( ProviderException pe )
{
// this is a kludge, the exception that is caught here contains the i18n key
// here we have the context available, so we can internationalize it properly :
throw new ProviderException( Preferences.getBundle( context, InternationalizationManager.CORE_BUNDLE )
.getString( pe.getMessage() ) );
}
log.info( "User " + user + " uploaded attachment to " + parentPage +
" called "+filename+", size " + att.getSize() );