Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.util.concurrent.ExecutionException;

public class Main {
    private static void throwCause(ExecutionException ex)
    /*  54:    */ {
        /*  55:159 */if ((ex.getCause() instanceof RuntimeException)) {
            /*  56:160 */throw ((RuntimeException) ex.getCause());
            /*  57:    */}
        /*  58:163 */if ((ex.getCause() instanceof Error)) {
            /*  59:164 */throw ((Error) ex.getCause());
            /*  60:    */}
        /*  61:    */}
}