Searched refs:InvalidParameterException (Results 1 – 8 of 8) sorted by relevance
31 import android.net.dhcp.DhcpServingParams.InvalidParameterException;84 public void testBuild_Immutable() throws InvalidParameterException { in testBuild_Immutable()118 @Test(expected = InvalidParameterException.class)119 public void testBuild_NegativeLeaseTime() throws InvalidParameterException { in testBuild_NegativeLeaseTime()123 @Test(expected = InvalidParameterException.class)124 public void testBuild_LeaseTimeTooLarge() throws InvalidParameterException { in testBuild_LeaseTimeTooLarge()130 public void testBuild_InfiniteLeaseTime() throws InvalidParameterException { in testBuild_InfiniteLeaseTime()139 public void testBuild_UnsetMtu() throws InvalidParameterException { in testBuild_UnsetMtu()144 @Test(expected = InvalidParameterException.class)145 public void testBuild_MtuTooSmall() throws InvalidParameterException { in testBuild_MtuTooSmall()[all …]
104 public static class InvalidParameterException extends Exception { class in DhcpServingParams105 public InvalidParameterException(String message) { in InvalidParameterException() method in DhcpServingParams.InvalidParameterException131 throws InvalidParameterException { in fromParcelableObject()133 throw new InvalidParameterException("Null serving parameters"); in fromParcelableObject()362 public DhcpServingParams build() throws InvalidParameterException { in build()364 throw new InvalidParameterException("Missing serverAddr"); in build()367 throw new InvalidParameterException("Missing defaultRouters"); in build()371 throw new InvalidParameterException("Missing dnsServers"); in build()374 throw new InvalidParameterException("Invalid lease time: " + mDhcpLeaseTimeSecs); in build()377 throw new InvalidParameterException("Invalid link MTU: " + mLinkMtu); in build()[all …]
354 } catch (DhcpServingParams.InvalidParameterException e) { in updateParams()
24 import java.security.InvalidParameterException;387 throw new InvalidParameterException( in release()
38 import java.security.InvalidParameterException;214 throw new InvalidParameterException("You must specify the week number for this view"); in setWeekParams()
55 import java.security.InvalidParameterException;235 throw new InvalidParameterException("Invalid restoreType " + restoreFlag); in getRestoredItemInfo()
77 import java.security.InvalidParameterException;1000 throw new InvalidParameterException("Orientation not supported."); in getImageSizeForOrientation()
352 } catch (DhcpServingParams.InvalidParameterException e) { in makeDhcpServer()