Examples of ICVerificationException


Examples of com.sk89q.craftbook.mechanics.ic.ICVerificationException

        new PlcIC<StateT, CodeT, Lang>(sign, lang); // Huge ugly hack!!
        sign.setLine(2, "id:" + CraftBookPlugin.inst().getRandom().nextInt());
        if (!sign.getLine(3).isEmpty()) {
            String line = sign.getLine(3);
            if (!RegexUtil.PLC_NAME_PATTERN.matcher(line).matches())
                throw new ICVerificationException("illegal storage name");
        }
        sign.update(false);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.