FileDocCategorySizeDatePackage
DexClassLoadingException.javaAPI DocAndroid 5.1 API1349Thu Mar 12 22:18:30 GMT 2015com.android.dexgen.util

DexClassLoadingException

public class DexClassLoadingException extends Exception
An exception type used to aggregate all the unexpected situations while trying to save dex file with generated class and load the class afterwards.

Fields Summary
Constructors Summary
public DexClassLoadingException(Throwable thr)
Encapsulates any checked exception being thrown in time between saving generated dex class to a file and loading it via DexClassLoader with an user-friendly message and passing the original exception as well.

param
thr {@code non-null;} lower level exception with more detailed error message

        super("Loading generated dex class has failed", thr);
    
Methods Summary