Class YangSyntaxErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opendaylight.yangtools.yang.model.parser.api.YangParserException
-
- org.opendaylight.yangtools.yang.model.parser.api.YangSyntaxErrorException
-
- All Implemented Interfaces:
Serializable
@Deprecated(since="7.0.0", forRemoval=true) public class YangSyntaxErrorException extends YangParserException
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message)Deprecated, for removal: This API element is subject to removal in a future version.YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message, @Nullable Throwable cause)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetCharPositionInLine()Deprecated, for removal: This API element is subject to removal in a future version.@NonNull StringgetFormattedMessage()Deprecated, for removal: This API element is subject to removal in a future version.intgetLine()Deprecated, for removal: This API element is subject to removal in a future version.Optional<org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier>getSource()Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
YangSyntaxErrorException
public YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message)Deprecated, for removal: This API element is subject to removal in a future version.
-
YangSyntaxErrorException
public YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message, @Nullable Throwable cause)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getSource
public final Optional<org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier> getSource()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getLine
public final int getLine()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCharPositionInLine
public final int getCharPositionInLine()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getFormattedMessage
public @NonNull String getFormattedMessage()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-