• George Nash's avatar
    Add OCEndpointParseException · 66a2d087
    George Nash authored
    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's avatarGeorge Nash <george.nash@intel.com>
    66a2d087
oc_endpoint.i 5.17 KB