public class InvalidDDMSException
extends Exception
The underlying data is stored as a ValidationMessage, which allows locator information to be set on it. Because InvalidDDMSExceptions are singular (one is thrown) while validation warnings are gathered from subcomponents and merged into a master list, we modify the exception itself when adding parent locator information.
Since a component is not nested in another component at the time of instantiation, it has no parent when a validation exception is thrown. Therefore, the locator info will always consist of the single element whose constructor was called.
| Constructor and Description | 
|---|
| InvalidDDMSException(String message) | 
| InvalidDDMSException(Throwable nested) | 
| InvalidDDMSException(URISyntaxException e)Handles nested URISyntaxExceptions | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getLocator()Accessor for the locator | 
| void | setLocator(String locator)Prefixes some string to the beginning of the existing locator. | 
public InvalidDDMSException(String message)
Exception.Exception(String)public InvalidDDMSException(Throwable nested)
Exception.Exception(Throwable)public InvalidDDMSException(URISyntaxException e)
e - the exceptionCopyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/