+ private void debug(String mesg)\r
+ {\r
+ debug(mesg, null);\r
+ }\r
+ private void debug(String mesg, Exception e)\r
+ {\r
+ if (Cache.log!=null)\r
+ {\r
+ debug(mesg, e);\r
+ } else {\r
+ System.err.println(mesg);\r
+ if (e!=null)\r
+ { \r
+ e.printStackTrace(); \r
+ }\r
+ }\r
+ }\r