This adds OCEndpointParseException that will be thrown if stringToEndpoint fails to parse the passed in string. Initially I would have liked to use the java.text.ParseException but it expects the errorOffset value which is the position where the parse error occured in the source string. We don't have a mechanism for discovering the errorOffset so a regular exception with a error message has been used instead. Additionally updated the NullPointerException code for setDi to use the C/C++ abstraction macros for Java method calls. Change-Id: I76442508c0b5b6c84d8c5ba303f0d982d550e5b6 Signed-off-by: George Nash <firstname.lastname@example.org>
Showing with 140 additions and 37 deletions
This diff is collapsed.