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

webit.script.exceptions.NotFunctionException Maven / Gradle / Ivy

// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.exceptions;

import webit.script.util.StringUtil;

/**
 *
 * @author zqq
 */
public class NotFunctionException extends RuntimeException {

    public NotFunctionException(Object real) {
        super(StringUtil.format("Not a function but a [{}].", real == null ? "null" : real.getClass()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy