int length = elements.length;
println(e.toString());  if (elements == null) { println("No stack trace."); return; }
   public void printStackTrace(Exception e)   {      StackTraceElement[] elements = e.getStackTrace();      int length = elements.length;            println(e.toString());            for (int i = 0; i < length; i++)      {         println(MessageStrings.getString("SystemConsole._t_3") + elements[i].toString()); //$NON-NLS-1$      }   }