Package org.apache.stanbol.rules.base.api

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

Related Classes of org.apache.stanbol.rules.base.api.UnavailableRuleObjectException

Copyright © 2018 www.massapicom. 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.