public class DataValidationFailedException extends Exception
Constructor and Description |
---|
DataValidationFailedException(YangInstanceIdentifier path,
String message)
Create a new instance.
|
DataValidationFailedException(YangInstanceIdentifier path,
String message,
Throwable cause)
Create a new instance, initializing the cause.
|
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
getPath()
Returns the offending object path.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataValidationFailedException(YangInstanceIdentifier path, String message)
path
- Object path which caused this exceptionmessage
- Specific message describing the failurepublic DataValidationFailedException(YangInstanceIdentifier path, String message, Throwable cause)
path
- Object path which caused this exceptionmessage
- Specific message describing the failurecause
- Exception which triggered this failure, may be nullpublic YangInstanceIdentifier getPath()
Copyright © 2019 OpenDaylight. All rights reserved.