private void checkForConflictingArguments() throws ArgumentException {
  throwIfArgumentsConflict(bindPasswordArg,bindPasswordFileArg);
  throwIfArgumentsConflict(trustAllArg,trustStorePathArg);
  throwIfArgumentsConflict(trustAllArg,trustStorePasswordArg);
  throwIfArgumentsConflict(trustAllArg,trustStorePasswordFileArg);
  throwIfArgumentsConflict(trustStorePasswordArg,trustStorePasswordFileArg);
  throwIfArgumentsConflict(useStartTLSArg,useSSLArg);
  if (trustStorePathArg.isPresent()) {
    final String value=trustStorePathArg.getValue();
    if (!canReadPath(value)) {
      final LocalizableMessage message=ERR_CANNOT_READ_TRUSTSTORE.get(value);
      throw new ArgumentException(message);
    }
  }
  if (keyStorePathArg.isPresent()) {
    final String value=keyStorePathArg.getValue();
    if (!canReadPath(value)) {
      final LocalizableMessage message=ERR_CANNOT_READ_KEYSTORE.get(value);
      throw new ArgumentException(message);
    }
  }
}

private void checkForConflictingArguments ( ) throws ArgumentException { throwIfArgumentsConflict ( bindPasswordArg , bindPasswordFileArg ) ; throwIfArgumentsConflict ( trustAllArg , trustStorePathArg ) ; throwIfArgumentsConflict ( trustAllArg , trustStorePasswordArg ) ; throwIfArgumentsConflict ( trustAllArg , trustStorePasswordFileArg ) ; throwIfArgumentsConflict ( trustStorePasswordArg , trustStorePasswordFileArg ) ; throwIfArgumentsConflict ( useStartTLSArg , useSSLArg ) ; if ( trustStorePathArg . isPresent ( ) ) { final String value = trustStorePathArg . getValue ( ) ; if ( ! canReadPath ( value ) ) { final LocalizableMessage message = ERR_CANNOT_READ_TRUSTSTORE . get ( value ) ; throw new ArgumentException ( message ) ; } } if ( keyStorePathArg . isPresent ( ) ) { final String value = keyStorePathArg . getValue ( ) ; if ( ! canReadPath ( value ) ) { final LocalizableMessage message = ERR_CANNOT_READ_KEYSTORE . get ( value ) ; throw new ArgumentException ( message ) ; } } }
verifies if the connection arguments are not conflicting together or if they are readable .
