Examples of UnavailableRuleObjectException


Examples of org.apache.stanbol.rules.base.api.UnavailableRuleObjectException

        } else if (adaptable instanceof Rule) {
            return adaptRuleTo((Rule) adaptable, type);
        } else if (adaptable instanceof RuleAtom) {
            return adaptRuleAtomTo((RuleAtom) adaptable, type);
        } else {
            throw new UnavailableRuleObjectException("The adaptable class " + adaptable.getClass()
                                                     + " is not supported by the adapter " + this.getClass());
        }
    }
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.