log.error("Cause of exception:", e.getCause());
log.error("Cause of exception:", e2); logCause(e2);
   private void logCause(Throwable e)   {      if (e.getCause() != null)      {         log.error("Cause of exception:", e.getCause());      }   }