1 10 package com.hp.hpl.jena.reasoner.rulesys.impl; 11 12 import com.hp.hpl.jena.reasoner.ReasonerException; 13 import com.hp.hpl.jena.reasoner.rulesys.Rule; 14 15 22 public class LPRuleSyntaxException extends ReasonerException { 23 24 25 29 public LPRuleSyntaxException(String msg, Rule rule) { 30 super("Syntax error in backward rule: " + rule.toShortString() 31 +"\n" + msg); 32 } 33 34 39 public LPRuleSyntaxException(String msg, Rule rule, Throwable cause) { 40 super("Syntax error in backward rule: " + rule.toShortString() 41 +"\n" + msg, cause); 42 } 43 } 44 45 46 | Popular Tags |