Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,922 for try (0.05 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/Request.java

            if (!Strings.isNullOrEmpty(error)) {
                throw new IllegalArgumentException(error);
            }
    
            final Deferred<T> deferred = new Deferred<>();
            try {
                processRequest(client, deferred);
            } catch (final Exception e) {
                throw new SuggesterException(e);
            }
            return deferred.promise();
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            String dom = null, user = null, pass = null;
            if ( userInfo != null ) {
                try {
                    userInfo = unescape(userInfo);
                }
                catch ( UnsupportedEncodingException uee ) {
                    throw new RuntimeCIFSException(uee);
                }
                int i, u;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

    public abstract class FessApiAdminAction extends FessApiAction {
    
        private static final Logger logger = LogManager.getLogger(FessApiAdminAction.class);
    
        @Override
        protected boolean isAccessAllowed() {
            try {
                return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions))
                        .orElse(false);
            } catch (final InvalidAccessTokenException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url("https://www.google.ca/")
              .build(),
          )
        val response = call.execute()
        try {
          println(response.code)
          println("PROTOCOL ${response.protocol}")
          var line: String?
          while (response.body.source().readUtf8Line().also { line = it } != null) {
            println(line)
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

     * sample of code points to detect unicode control characters commonly used in binary file
     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
        val byteCount = size.coerceAtMost(64)
        copyTo(prefix, 0, byteCount)
        for (i in 0 until 16) {
          if (prefix.exhausted()) {
            break
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/ClassUtil.java

        @SuppressWarnings("unchecked")
        public static <T> Class<T> forName(final String className, final ClassLoader loader) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
            try {
                return (Class<T>) Class.forName(className, true, loader);
            } catch (final ClassNotFoundException e) {
                throw new ClassNotFoundRuntimeException(e);
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
        }
    
        T transformResult;
        try {
          transformResult = doTransform(localFunction, sourceResult);
        } catch (Throwable t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            verifyPassword(form, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getUser(form).ifPresent(entity -> {
                try {
                    userService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	if err := s.rescanPod(pod); err != nil {
    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top