public final class ErrorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
format(Source source,
String message)
Formats a parsing error message.
|
static String |
format(String sourceName,
Source source,
String message)
Formats a parsing error message.
|
static String |
format(String sourceName,
String message)
Formats a general error message.
|
static String |
format(String sourceName,
Syntax cause,
String message)
Formats a validation error message.
|
static String |
format(Syntax cause,
String message)
Formats a validation error message.
|
public static String format(String sourceName, String message)
sourceName - Name of the resource (e.g., file name) that has the problem.message - The error message.public static String format(Source source, String message)
source - The source where the error occurred.message - The error message.public static String format(String sourceName, Source source, String message)
sourceName - Name of the resource (e.g., file name) that has the problem.source - The source where the error occurred.message - The error message.public static String format(Syntax cause, String message)
cause - The Syntax that has the problem.message - The error message.public static String format(String sourceName, Syntax cause, String message)
sourceName - Name of the resource (e.g., file name) that has the problem.cause - The Syntax that has the problem.message - The error message.Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.