private void checkParameters() throws SSLException {
  assert keyStoreType != null;
  assert proto != null;
  checkNullParameter(keyStoreFilePath,"keyStoreFilePath");
  checkNullParameter(keyStorePwd,"keyStorePwd");
  if (trustMgrs == null) {
    if (trustStoreFilePath == null)     throw new SSLException("Failed to initialize SSL context (either trustStoreFilePath or " + "trustManagers must be provided)");
 else     checkNullParameter(trustStorePwd,"trustStorePwd");
  }
}

private void checkParameters ( ) throws SSLException { assert keyStoreType != null ; assert proto != null ; checkNullParameter ( keyStoreFilePath , "keyStoreFilePath" ) ; checkNullParameter ( keyStorePwd , "keyStorePwd" ) ; if ( trustMgrs == null ) { if ( trustStoreFilePath == null ) throw new SSLException ( "Failed to initialize SSL context (either trustStoreFilePath or " + "trustManagers must be provided)" ) ; else checkNullParameter ( trustStorePwd , "trustStorePwd" ) ; } }
checks that all required parameters are set .
