public class UnreachablePropertyPathValueException extends RuntimeException
null
element has been detected along the path.Constructor and Description |
---|
UnreachablePropertyPathValueException(PropertyPath path,
RecordHolder record)
Creates a new exception for the property
path starting at
the record indicating that the value cannot be reached
because a element has been detected before reaching the end
of the path. |
UnreachablePropertyPathValueException(PropertyPath path,
RecordHolder record,
Throwable cause)
Creates a new exception for the property
path starting at
the record indicating that the value cannot be reached
because a element has been detected before reaching the end
of the path. |
Modifier and Type | Method and Description |
---|---|
PropertyPath |
getPath()
Gets the property path for which the value cannot be reached.
|
RecordHolder |
getRecord()
Gets the record to which the property path was applied.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public UnreachablePropertyPathValueException(PropertyPath path, RecordHolder record)
path
starting at
the record
indicating that the value cannot be reached
because a element has been detected before reaching the end
of the path.path
- the property pathrecord
- the record where the path startedpublic UnreachablePropertyPathValueException(PropertyPath path, RecordHolder record, Throwable cause)
path
starting at
the record
indicating that the value cannot be reached
because a element has been detected before reaching the end
of the path.path
- the property pathrecord
- the record where the path startedcause
- the causepublic PropertyPath getPath()
public RecordHolder getRecord()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.