public final class SoyAutoescapeException extends LegacyInternalSyntaxException
srcLoc, templateName| Modifier and Type | Method and Description |
|---|---|
SoyAutoescapeException |
associateNode(SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
|
static SoyAutoescapeException |
createCausedWithNode(String message,
Throwable cause,
SoyNode node)
Creates a SoyAutoescapeException, with meta info filled in based on the given Soy node.
|
static SoyAutoescapeException |
createCausedWithoutMetaInfo(String message,
Throwable cause)
Deprecated.
|
static SoyAutoescapeException |
createWithNode(String message,
SoyNode node)
Creates a SoyAutoescapeException, with meta info filled in based on the given Soy node.
|
static SoyAutoescapeException |
createWithoutMetaInfo(String message)
Deprecated.
|
SoyAutoescapeException |
maybeAssociateNode(SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
|
associateMetaInfo, createWithMetaInfo, createWithMetaInfo, getMessage, getOriginalMessage, getSourceLocationaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Deprecated public static SoyAutoescapeException createWithoutMetaInfo(String message)
Important: Do not use outside of Soy code (treat as superpackage-private).
message - The error message.@Deprecated public static SoyAutoescapeException createCausedWithoutMetaInfo(@Nullable String message, Throwable cause)
Important: Do not use outside of Soy code (treat as superpackage-private).
message - The error message, or null to use the message from the cause.cause - The cause of this exception.public static SoyAutoescapeException createWithNode(String message, SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
message - The error message.node - The node from which to derive the exception meta info.public static SoyAutoescapeException createCausedWithNode(@Nullable String message, Throwable cause, SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
message - The error message, or null to use the message from the cause.cause - The cause of this exception.node - The node from which to derive the exception meta info.public SoyAutoescapeException associateNode(SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
node - The node from which to derive the exception meta info.public SoyAutoescapeException maybeAssociateNode(SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
node - The node from which to derive the exception meta info.