code: public void logError(String pMessage,
                           Throwable pRootCause)
              throws ELException {
          if (isLoggingError()) {
              if (pMessage == null) {
                  throw new ELException(pRootCause);
              } else if (pRootCause == null) {
                  throw new ELException(pMessage);
              } else {
                  throw new ELException(pMessage, pRootCause);
              }
          }
      }
docs: Logs an error