/**
  * Logs the given exception to <code>System.err</code>.  Used to display
  * errors while accessing/mutating the bean.
  *
  * @param ex  the exception to log
  */
 protected void logWarn(java.lang.Exception ex)
 {
     // Deliberately do not use LOG4J or Commons Logging to avoid dependencies
     java.lang.SystemJ.outJ.println("WARN: Exception: " + ex);
     ex.printStackTrace();
 }