Checked Exceptions are to be handled by the programmer otherwise the compiler will show errors (compile-time error). These exceptions do not extend RunTimeException class.
try{
FileOutputStream out = new FileOutputStream("myfile.txt");
}catch(Exception ex)
{ex.printStackTrace();}