Subversion Repositories eFlore/Applications.coel

Rev

Rev 1784 | Rev 1893 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1784 Rev 1802
Line 34... Line 34...
34
			System.out.println("-------------------------------------------------------------------");
34
			System.out.println("-------------------------------------------------------------------");
35
			System.out.println("");
35
			System.out.println("");
36
		}
36
		}
37
	}
37
	}
Line 38... Line 38...
38
	
38
	
39
	private String buildStackTrace(Throwable t, String log) {
39
	/*private String buildStackTrace(Throwable t, String log) {
40
	    if (t != null) {
40
	    if (t != null) {
41
		     log += t.getClass().toString();
41
		     log += t.getClass().toString();
42
		     log += t.getMessage();
42
		     log += t.getMessage();
43
		     //
43
		     //
Line 57... Line 57...
57
		     if (cause != null && cause != t) {
57
		     if (cause != null && cause != t) {
58
		    	 log += buildStackTrace(cause, "CausedBy:\n");
58
		    	 log += buildStackTrace(cause, "CausedBy:\n");
59
		     }
59
		     }
60
	    }
60
	    }
61
	    return log;
61
	    return log;
62
	}
62
	}*/
Line 63... Line 63...
63
 
63
 
64
	public static native void  LogVersFirebug(String s) /*-{
64
	public static native void  LogVersFirebug(Object o) /*-{
65
		if (!!($wnd.console && $wnd.console.log)) {
65
		if (!!($wnd.console && $wnd.console.log)) {
66
			console.log(s);
66
			console.log(o);
67
		}
67
		}
68
	}-*/;
68
	}-*/;
69
}
69
}