public class YangCompilerException extends RuntimeException
| Constructor and Description |
|---|
YangCompilerException(String message)
Creates a new YANG tool exception with given message.
|
YangCompilerException(String message,
Throwable cause)
Creates a new tool exception from given message and cause.
|
YangCompilerException(Throwable cause)
Creates a new tool exception from cause.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
getYangFile()
Retrieves the current YANG files for which exception has occured.
|
void |
setYangFile(Path yangFile)
Updates the YANG file which caused the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic YangCompilerException(String message)
message - the detail of exception in stringpublic YangCompilerException(String message, Throwable cause)
message - the detail of exception in stringcause - underlying cause of the errorpublic YangCompilerException(Throwable cause)
cause - underlying cause of the errorCopyright © 2021 airlenet. All rights reserved.