Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 738 for failed (0.05 sec)

  1. ApiAdminPathmapAction.java

    null; L76: }); L77: try { L78: pathMappingService.store(entity); L79: saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); L80: } catch (final Exception e) { L81: logger.warn("Failed to process a request.", e); L82: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L83: } L84: return asJson(new ApiResult.ApiUpdateResponse().id(entity....
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      5.6K bytes
  2. ApiAdminRelatedcontentAction.java

    L81: final RelatedContent relatedContent = getRelatedContent(body).map(entity -> { L82: try { L83: relatedContentService.store(entity); L84: } catch (final Exception e) { L85: logger.warn("Failed to process a request.", e); L86: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L87: } L88: return entity; L89: }).orElseGet(() -> {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.4K bytes
  3. PluginHelper.java

    org.codelibs.fess.helper; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19: L20:import java.io.ByteArrayInputStream; L21:import java.io.File; L22:import java.io.FileInputStream; L23:import java.io.IOException; L24:import java.io.InputStream; L25:import java.net.Proxy; L26:import java.nio.file.Files; L27:import java.nio.file.Path; L28:import java.nio.file.Paths; L29:import java.util.ArrayList; L30:import java.util.Collections; L31:import java.util.Comparator; L32:import java.util.List; L33:import...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Oct 24 01:47:10 UTC 2024
      17.8K bytes
  4. FessMultipartRequestHandler.java

    protected void handleFileUploadException(final FileUploadException e) throws ServletException { L321: // suppress logging because it can be caught by logging filter L322: //log.error("Failed to parse multipart request", e); L323: throw new ServletException("Failed to upload the file.", e); L324: } L325: L326: // =================================================================================== L327: // ...
    github.com/codelibs/fess/src/main/java/org/code...
    Wed Oct 23 13:27:21 UTC 2024
      18.6K bytes
  5. ApiAdminAccesstokenAction.java

    getAccessToken(body).map(entity -> { L85: entity.setToken(accessTokenHelper.generateAccessToken()); L86: try { L87: accessTokenService.store(entity); L88: } catch (final Exception e) { L89: logger.warn("Failed to process a request.", e); L90: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L91: } L92: return entity; L93: }).orElseGet(() -> {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      7K bytes
  6. ApiAdminReqheaderAction.java

    CrudMode.CREATE; L91: final RequestHeader reqHeader = getRequestHeader(body).map(entity -> { L92: try { L93: reqHeaderService.store(entity); L94: } catch (final Exception e) { L95: logger.warn("Failed to process a request.", e); L96: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L97: } L98: return entity; L99: }).orElseGet(() -> {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.8K bytes
  7. ApiAdminWebauthAction.java

    CrudMode.CREATE; L91: final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> { L92: try { L93: webAuthService.store(entity); L94: } catch (final Exception e) { L95: logger.warn("Failed to process a request.", e); L96: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L97: } L98: return entity; L99: }).orElseGet(() -> {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.8K bytes
  8. ApiAdminStorageAction.java

    us.OK).result()); L92: } catch (final StorageException e) { L93: logger.warn("Failed to delete {}", id, e); L94: throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, pi.getName())); L95: } L96: return null; L97: } L98: L99: // curl -XPOST -H "Authorization: CHANGEME" localhost:8080/api/admin/storage/upload/ -F path=/ -F file=@... L100: // POST /api/admin/storage/upload/{pathId}/ L101: @Execute L102: public JsonResponse<ApiResult>...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      5.3K bytes
  9. ApiAdminBoostdocAction.java

    L85: final BoostDocumentRule boostDoc = getBoostDocumentRule(body).map(entity -> { L86: try { L87: boostDocumentRuleService.store(entity); L88: } catch (final Exception e) { L89: logger.warn("Failed to process a request.", e); L90: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L91: } L92: return entity; L93: }).orElseGet(() -> {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.4K bytes
  10. ApiAdminLabeltypeAction.java

    = CrudMode.CREATE; L88: final LabelType labelType = getLabelType(body).map(entity -> { L89: try { L90: labelTypeService.store(entity); L91: } catch (final Exception e) { L92: logger.warn("Failed to process a request.", e); L93: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L94: } L95: return entity; L96: }).orElseGet(() -> {...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.8K bytes
Back to top