protected Optional<Remote> _call() { if (name == null || name.isEmpty()) { throw new RemoteException(StatusCode.MISSING_NAME);
protected Remote _call() { if (name == null || name.isEmpty()) { throw new RemoteException(StatusCode.MISSING_NAME); throw new RemoteException(StatusCode.REMOTE_NOT_FOUND);
protected Remote _call() { if (name == null || name.isEmpty()) { throw new RemoteException(StatusCode.MISSING_NAME); throw new RemoteException(StatusCode.MISSING_URL); List<String> allRemotes = config.getAllSubsections("remote"); if (allRemotes.contains(name)) { throw new RemoteException(StatusCode.REMOTE_ALREADY_EXISTS);