code: @Override
     public synchronized boolean delete()
     {
        try
        {
           if (!inUse())
           {
              PrivilegedAction<Boolean> action = new PrivilegedAction<Boolean>()
              {
                 public Boolean run()
                 {
                    return SerializationSpoolFile.super.delete();
                 }
              };
              boolean result = SecurityHelper.doPrivilegedAction(action);
  
              if (result)
              {
                 holder.remove(id);
              }
              return result;
           }
        }
        catch (FileNotFoundException e)
        {
           if (LOG.isTraceEnabled())
           {
              LOG.trace("An exception occurred: " + e.getMessage());
           }
        }
        return false;
     }
docs: {@inheritDoc}