code: public Throwable setThrowable(Throwable throwable, String resource) {
  
          if (m_throwable == null) {
              m_throwable = throwable;
              m_throwableResourceUri = resource;
          } else {
              if (LOG.isDebugEnabled()) {
                  if (resource != null) {
                      LOG.debug(
                          Messages.get().getBundle().key(Messages.LOG_FLEXCONTROLLER_IGNORED_EXCEPTION_1, resource));
                  } else {
                      LOG.debug(Messages.get().getBundle().key(Messages.LOG_FLEXCONTROLLER_IGNORED_EXCEPTION_0));
                  }
              }
          }
          return m_throwable;
      }
docs: Sets an exception (Throwable) that was caught during inclusion of sub elements.<p>
  
  If another exception is already set in this controller, then the additional exception
  is ignored.<p>
  
  @param throwable the exception (Throwable) to set
  @param resource the URI of the VFS resource the error occurred on (might be <code>null</code> if unknown)
  
  @return the exception stored in the controller