List of usage examples for java.security InvalidParameterException InvalidParameterException
public InvalidParameterException()
From source file:com.android.ddmuilib.log.event.EventDisplay.java
void addPidFiler(int pid) { if (mPidFiltering == false) { throw new InvalidParameterException(); }// ww w . ja v a 2 s . c om if (mPidFilterList == null) { mPidFilterList = new ArrayList<Integer>(); } mPidFilterList.add(pid); }
From source file:com.hannesdorfmann.home.HomeActivity.java
private int getAuthSourceRequestCode(Source filter) { switch (filter.key) { case SourceManager.SOURCE_DRIBBBLE_FOLLOWING: return RC_AUTH_DRIBBBLE_FOLLOWING; case SourceManager.SOURCE_DRIBBBLE_USER_LIKES: return RC_AUTH_DRIBBBLE_USER_LIKES; case SourceManager.SOURCE_DRIBBBLE_USER_SHOTS: return RC_AUTH_DRIBBBLE_USER_SHOTS; }/*www . ja v a 2 s . co m*/ throw new InvalidParameterException(); }
From source file:io.plaidapp.ui.HomeActivity.java
int getAuthSourceRequestCode(Source filter) { switch (filter.key) { case SourceManager.SOURCE_DRIBBBLE_FOLLOWING: return RC_AUTH_DRIBBBLE_FOLLOWING; case SourceManager.SOURCE_DRIBBBLE_USER_LIKES: return RC_AUTH_DRIBBBLE_USER_LIKES; case SourceManager.SOURCE_DRIBBBLE_USER_SHOTS: return RC_AUTH_DRIBBBLE_USER_SHOTS; }//from ww w. j a va 2 s. c o m throw new InvalidParameterException(); }
From source file:org.obm.icalendar.Ical4jHelper.java
private void appendUidToICS(PropertyList prop, Event event, EventExtId parentExtId) { if (parentExtId != null && parentExtId.getExtId() != null) { prop.add(new Uid(parentExtId.serializeToString())); } else if (event.getExtId() != null && event.getExtId().getExtId() != null) { prop.add(new Uid(event.getExtId().serializeToString())); } else {/*from w ww .j a va 2s . c o m*/ throw new InvalidParameterException(); } }