public static final class ConformanceRules.BanThrowOfNonErrorTypes extends ConformanceRules.AbstractRule
| Modifier and Type | Field and Description |
|---|---|
(package private) JSType |
errorObjType |
compiler, message, onlyApplyTo, onlyApplyToRegexp, whitelist, whitelistRegexp| Constructor and Description |
|---|
BanThrowOfNonErrorTypes(AbstractCompiler compiler,
Requirement requirement) |
| Modifier and Type | Method and Description |
|---|---|
protected ConformanceRules.ConformanceResult |
checkConformance(NodeTraversal t,
Node n) |
check, report, shouldCheckConformancefinal JSType errorObjType
public BanThrowOfNonErrorTypes(AbstractCompiler compiler, Requirement requirement) throws CheckConformance.InvalidRequirementSpec
protected ConformanceRules.ConformanceResult checkConformance(NodeTraversal t, Node n)
checkConformance in class ConformanceRules.AbstractRule