Searched refs:InvalidAddressException (Results 1 – 4 of 4) sorted by relevance
109 static class InvalidAddressException extends DhcpLeaseException { class in DhcpLeaseRepository110 InvalidAddressException(String message) { in InvalidAddressException() method in DhcpLeaseRepository.InvalidAddressException280 throws InvalidAddressException, InvalidSubnetException { in requestLease()296 throw new InvalidAddressException("Incorrect address for client in " in requestLease()328 throws InvalidAddressException { in checkClientAndMakeLease()332 throw new InvalidAddressException("Address in use"); in checkClientAndMakeLease()340 throw new InvalidAddressException("Lease not found and address unavailable"); in checkClientAndMakeLease()
560 } catch (DhcpLeaseRepository.InvalidAddressException e) { in processRequest()
383 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)388 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)394 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)424 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)442 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)483 } catch (DhcpLeaseRepository.InvalidAddressException e) { in testRequestLease_RenewingAddrInUse()490 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
51 import android.net.dhcp.DhcpLeaseRepository.InvalidAddressException;326 .thenThrow(new InvalidAddressException("Test error")); in testRequest_Selecting_Nak()