public final class ListenerErrorMessageConstruction extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
constructExtendedListenerErrorMessage(ListenerErrorType errorType,
YangConstructType yangConstructType,
String parsableDataTypeName,
ListenerErrorLocation errorLocation,
String extendedErrorInformation)
Constructs message for error with extended information and returns the
same.
|
static String |
constructListenerErrorMessage(ListenerErrorType errorType,
YangConstructType yangConstructType,
String parsableDataTypeName,
ListenerErrorLocation errorLocation)
Constructs message for error during listener based tree walk and returns
the same.
|
public static String constructExtendedListenerErrorMessage(ListenerErrorType errorType, YangConstructType yangConstructType, String parsableDataTypeName, ListenerErrorLocation errorLocation, String extendedErrorInformation)
errorType - error type needs to be set in error messageyangConstructType - type of parsable data in which error occurredparsableDataTypeName - identifier/string of parsable data type in
which error occurrederrorLocation - location where error occurredextendedErrorInformation - extended error informationpublic static String constructListenerErrorMessage(ListenerErrorType errorType, YangConstructType yangConstructType, String parsableDataTypeName, ListenerErrorLocation errorLocation)
errorType - error type needs to be set in error messageyangConstructType - type of parsable data in which error occurredparsableDataTypeName - identifier/string of parsable data type in
which error occurrederrorLocation - location where error occurredCopyright © 2016. All rights reserved.