List of usage examples for com.google.gwt.corp.compatibility ConsolePrintStream ConsolePrintStream
public ConsolePrintStream()
From source file:com.googlecode.gwtquake.client.CompatibilityImpl.java
License:Open Source License
public CompatibilityImpl() { ConsolePrintStream cps;/*from w w w . j a v a2s .c o m*/ cps = new ConsolePrintStream(); System.setOut(cps); System.setErr(cps); System.out.println("Test for System.out.println()"); new Throwable("Exception test").printStackTrace(); System.out.println("Did the exception test appear above?"); }