Assert.java 433 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.agl.impl;

public class Assert {
    public static void fail(Exception e) {
        Assert.fail(e.toString());
    }

    public static void fail(String msg) {
        throw new IllegalStateException("failure '" + msg + "'");
    }

    public static void assrt(boolean val) {
        if (!val) {
            throw new IllegalStateException("assert failed");
        }
    }
}