All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iodesystems.android.jsi.exceptions.JsExecutionException Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package com.iodesystems.android.jsi.exceptions;

public class JsExecutionException {
    private final Throwable e;

    public JsExecutionException(Throwable e) {
        this.e = e;
    }

    public String getMessage() {
        return e.getMessage();
    }

    public String getType() {
        return e.getClass().getSimpleName();
    }

    public String getRootType() {
        if (e.getCause() == null) {
            return getType();
        } else {
            return e.getCause().getClass().getSimpleName();
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy