public static void m() {
		for (int j=0; j<20; j++) {
			final int k = j;
			new Thread(new Runnable() {
				@Override
				public void run() {
					if (k == 1) {
						PrintStream ps = System.err;
						ByteArrayOutputStream baos = new ByteArrayOutputStream();
						
						try {
							int i = 0;
							i = 1 / i;
						} catch (Exception e) {
							System.setErr(new PrintStream(baos));
							try {
								Thread.sleep(200);
							} catch (InterruptedException e1) {
								e1.printStackTrace();
							}
							e.printStackTrace();
							System.setErr(new PrintStream(ps));
						}
						
						System.out.println("=====");
						System.out.println(baos.toString());
						System.out.println("=====");
					} else {
						System.err.println(Thread.currentThread().getName());
					}
				}
			}).start();
		}
	}