public class SoySyntaxExceptionUtils extends Object
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Method and Description |
|---|---|
static LegacyInternalSyntaxException |
associateNode(LegacyInternalSyntaxException sse,
SoyNode node)
Adds meta info to an existing LegacyInternalSyntaxException.
|
static LegacyInternalSyntaxException |
createWithNode(String message,
SoyNode node)
Creates a LegacyInternalSyntaxException, with meta info filled in based on the given Soy node.
|
public static LegacyInternalSyntaxException 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 LegacyInternalSyntaxException associateNode(LegacyInternalSyntaxException sse, SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
sse - The SoySyntaxException to add meta info to.node - The node from which to derive the exception meta info.