Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    static Throwable checkedException(Throwable ex)
    /*  46:    */ {
        /*  47:144 */if ((ex != null) && (!(ex instanceof RuntimeException)) && (!(ex instanceof Error))) {
            /*  48:146 */return ex;
            /*  49:    */}
        /*  50:148 */throw new IllegalArgumentException("Not a checked exception: " + ex);
        /*  51:    */}
}