public final class StrictWarningsGuard extends WarningsGuard
WarningsGuard.Priority| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
(package private) static DiagnosticType |
UNRAISABLE_WARNING |
| Constructor and Description |
|---|
StrictWarningsGuard() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getPriority()
The priority in which warnings guards are applied.
|
CheckLevel |
level(JSError error)
Returns a new check level for a given error.
|
protected WarningsGuard |
makeNonStrict()
Make a warnings guard that's the same as this one but with
all escalating guards turned down.
|
disables, enablesprivate static final long serialVersionUID
static final DiagnosticType UNRAISABLE_WARNING
public CheckLevel level(JSError error)
WarningsGuardlevel in class WarningsGuarderror - a reported error.protected int getPriority()
WarningsGuardgetPriority in class WarningsGuardprotected WarningsGuard makeNonStrict()
WarningsGuardmakeNonStrict in class WarningsGuard