- public static void start() throws IOException, RuntimeException{
- 02
- 03 throw new RuntimeException("Not able to Start");
- 04 }
- 05
- 06 public static void main(String args[]) {
- 07 try {
- 08 start();
- 09 } catch (Exception ex) {
- 10 ex.printStackTrace();
- 11 } catch (RuntimeException re) {
- 12 re.printStackTrace();
- 13 }
- 14 }
复制代码
麻烦解决一下问题啊,编译错误。 |