docs: public InputStream getInputStream(BeanId beanId)
                      throws CSIException
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "getInputStream", beanId);
  
          final String fileName = getPortableFilename(beanId);
          FileInputStream result = null;
  
          try
          {
              result = (FileInputStream) AccessController.doPrivileged(new PrivilegedExceptionAction<FileInputStream>()
              {
                  public FileInputStream run() throws IOException
                  {
                      return new FileInputStream(new File(passivationDir, fileName));
                  }
              });
          } catch (PrivilegedActionException ex)
          {
              //d248470 begin
              Exception ex2 = ex.getException();
              if (ex2 instanceof FileNotFoundException)
              {
                  FFDCFilter.processException(ex2, CLASS_NAME + ".getInputStream", "524", this);
                  if (isTraceOn && tc.isEventEnabled())
                      Tr.event(tc, "No file found while trying to activate passivated stateful session bean", fileName);
                  throw new StreamUnavailableException("");
              }
  
              if (ex2 instanceof IOException)
              {
                  FFDCFilter.processException(ex2, CLASS_NAME + ".getInputStream", "531", this);
                  Tr.warning(tc, "IOEXCEPTION_READING_FILE_FOR_STATEFUL_SESSION_BEAN_CNTR0024W",
                             new Object[] { fileName, this, ex2 });
                  throw new CSIException("IOException reading input stream for stateful session bean", (IOException) ex2);
              }
  
              throw new CSIException("Unexpected exception reading input stream for stateful session bean", ex2);
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "getInputStream");
          return result;
      }