Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,024 for Exceptions (0.09 sec)

  1. ApiAdminCrawlinginfoAction.java

    crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> { L80: try { L81: crawlingInfoService.delete(entity); L82: saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); L83: } catch (final Exception e) { L84: logger.warn("Failed to process a request.", e); L85: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e))); L86: } L87: }).orElse(()...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      4.9K bytes
  2. ApiAdminFailureurlAction.java

    failureUrlService.getFailureUrl(id).ifPresent(entity -> { L82: try { L83: failureUrlService.delete(entity); L84: saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); L85: } catch (final Exception e) { L86: logger.warn("Failed to process a request.", e); L87: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e))); L88: } L89: }).orElse(()...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      4.9K bytes
  3. AtomicDoubleTest.java

    prev, x)); L96: assertBitEquals(x, at.get()); L97: prev = x; L98: } L99: } L100: L101: /** compareAndSet in one thread enables another waiting for value to succeed */ L102: public void testCompareAndSetInMultipleThreads() throws Exception { L103: final AtomicDouble at = new AtomicDouble(1.0); L104: Thread t = L105: newStartedThread( L106: new CheckedRunnable() { L107: @Override L108: @SuppressWarnings("ThreadPriorityCheck") // doing...
    github.com/google/guava/guava-tests/test/com/go...
    Thu Oct 17 02:42:09 UTC 2024
      10.3K bytes
  4. AdminUserAction.java

    ; L216: getUser(form).ifPresent(entity -> { L217: try { L218: userService.store(entity); L219: saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); L220: } catch (final Exception e) { L221: logger.warn("Failed to add {}", entity, e); L222: throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)), L223: this::asEditHtml);...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      15.9K bytes
  5. FessApiAdminAction.java

    License. L15: */ L16:package org.codelibs.fess.app.web.api.admin; L17: L18:import org.apache.logging.log4j.LogManager; L19:import org.apache.logging.log4j.Logger; L20:import org.codelibs.fess.app.web.api.FessApiAction; L21:import org.codelibs.fess.exception.InvalidAccessTokenException; L22: L23:public abstract class FessApiAdminAction extends FessApiAction { L24: L25: private static final Logger logger = LogManager.getLogger(FessApiAdminAction.class); L26: L27: @Override L28: protected boolean...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      1.4K bytes
  6. ConflictingRequirementsException.java

    java.util.Set; L21: L22:/** L23: * Thrown when requirements on a tester method or class conflict with each other. L24: * L25: * @author George van den Driessche L26: */ L27:@GwtCompatible L28:public class ConflictingRequirementsException extends Exception { L29: private Set<Feature<?>> conflicts; L30: private Object source; L31: L32: public ConflictingRequirementsException( L33: String message, Set<Feature<?>> conflicts, Object source) { L34: super(message); L35: this.conflicts = conflicts;...
    github.com/google/guava/guava-testlib/src/com/g...
    Mon Dec 04 17:37:03 UTC 2017
      1.4K bytes
  7. RoleQueryHelper.java

    org.codelibs.core.crypto.CachedCipher; L30:import org.codelibs.core.lang.StringUtil; L31:import org.codelibs.fess.app.service.AccessTokenService; L32:import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType; L33:import org.codelibs.fess.exception.InvalidAccessTokenException; L34:import org.codelibs.fess.mylasta.action.FessUserBean; L35:import org.codelibs.fess.mylasta.direction.FessConfig; L36:import org.codelibs.fess.util.ComponentUtil; L37:import org.lastaflute.web.login.LoginManager; L38:import...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Jul 25 01:48:41 UTC 2024
      11.5K bytes
  8. SearchEngineApiManager.java

    org.codelibs.curl.Curl.Method; L32:import org.codelibs.curl.CurlRequest; L33:import org.codelibs.curl.CurlResponse; L34:import org.codelibs.fess.Constants; L35:import org.codelibs.fess.api.BaseApiManager; L36:import org.codelibs.fess.exception.FessSystemException; L37:import org.codelibs.fess.exception.WebApiException; L38:import org.codelibs.fess.mylasta.action.FessUserBean; L39:import org.codelibs.fess.util.ComponentUtil; L40:import org.codelibs.fess.util.ResourceUtil; L41:import org.lastaflute.web.servlet.request.RequestManager;...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Aug 15 08:29:24 UTC 2024
      11.3K bytes
  9. XmlEscapersTest.java

    * Tests for the {@link XmlEscapers} class. L28: * L29: * @author Alex Matevossian L30: * @author David Beaumont L31: */ L32:@GwtCompatible L33:public class XmlEscapersTest extends TestCase { L34: L35: public void testXmlContentEscaper() throws Exception { L36: CharEscaper xmlContentEscaper = (CharEscaper) XmlEscapers.xmlContentEscaper(); L37: assertBasicXmlEscaper(xmlContentEscaper, false, false); L38: // Test quotes are not escaped. L39: assertEquals("\"test\"", xmlContentEscaper.escape("\"test\""));...
    github.com/google/guava/guava-tests/test/com/go...
    Mon Dec 04 17:37:03 UTC 2017
      4.7K bytes
  10. CrawlingInfoHelperTest.java

    gUtils; L27:import org.codelibs.fess.unit.UnitFessTestCase; L28: L29:public class CrawlingInfoHelperTest extends UnitFessTestCase { L30: private CrawlingInfoHelper crawlingInfoHelper; L31: L32: @Override L33: public void setUp() throws Exception { L34: super.setUp(); L35: crawlingInfoHelper = new CrawlingInfoHelper(); L36: } L37: L38: public void test_generateId() { L39: final Map<String, Object> dataMap = new HashMap<String, Object>(); L40: dataMap.put("url",...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      8.5K bytes
Back to top