Here you can find the source of sleepNotException(long millis)
public static void sleepNotException(long millis)
//package com.java2s; public class Main { public static void sleepNotException(long millis) { try {/*from www. j a v a2 s.c o m*/ Thread.sleep(millis); } catch (Exception ex) { System.out.println("sleep ex," + ex.getClass().getSimpleName()); } } }