Unhandled exception: java.lang.InterruptedException

Java
try {
    Thread.sleep(1500);
} catch(InterruptedException e) {
    System.out.println("got interrupted!");
}
Source

Also in Java: