Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void throwProguardError(Exception paramException) {
        if ((paramException instanceof NoSuchMethodException)) {
            throw new IllegalStateException(
                    "Chartboost library error! Have you used proguard on your application? Make sure to add the line '-keep class com.chartboost.sdk.** { *; }' to your proguard config file.");
        }
        throw new RuntimeException(paramException);
    }
}