public class NoSuchDefinitionException extends XDRuntimeException
Constructor and Description |
---|
NoSuchDefinitionException(java.lang.String offendingName,
java.lang.String message)
Create a new exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOffendingName()
Return the name of the definition that could not be found.
|
public NoSuchDefinitionException(java.lang.String offendingName, java.lang.String message)
offendingName
- name of the definition that wasn't foundmessage
- Exception message. Can use String.format(String, Object...)
syntax to include the
offendingName