/** @since 3.0 */ public AbstractCompoundRule( ResourceBundle messages, String withHyphenMessage, String withoutHyphenMessage, String withOrWithoutHyphenMessage, String shortMessage) throws IOException { super.setCategory(Categories.MISC.getCategory(messages)); this.withHyphenMessage = withHyphenMessage; this.withoutHyphenMessage = withoutHyphenMessage; this.withOrWithoutHyphenMessage = withOrWithoutHyphenMessage; this.shortDesc = shortMessage; setLocQualityIssueType(ITSIssueType.Misspelling); }