Java tutorial
//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); } }