Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,206 for mymessage (0.11 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        }
    
        // Test API result with messages
        public void test_apiResultWithMessages() {
            String testMessage = "Test error message";
            ApiResult.ApiErrorResponse errorResponse = new ApiResult.ApiErrorResponse();
            errorResponse.message(testMessage);
            errorResponse.status(Status.BAD_REQUEST);
            ApiResult result = errorResponse.result();
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static class Message {
        boolean invoked;
    
        @Override
        public String toString() {
          assertFalse(invoked);
          invoked = true;
          return "A message";
        }
      }
    
      private static final String FORMAT = "I ate %s pies.";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static class Message {
        boolean invoked;
    
        @Override
        public String toString() {
          assertFalse(invoked);
          invoked = true;
          return "A message";
        }
      }
    
      private static final String FORMAT = "I ate %s pies.";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                return buf.toString();
            };
            final String message;
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                message = escapeJsonKeyValue(MESSAGE_FIELD, stacktraceString.get());
            } else {
                final String errorCode = UUID.randomUUID().toString();
                message = escapeJsonKeyValue("error_code:", errorCode);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

        }
    
        /**
         * Executes the search log aggregation job.
         * Stores search logs using the SearchLogHelper and returns execution results.
         *
         * @return execution result message, empty if successful or error message if failed
         */
        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/InvalidatableSet.java

      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        protected JsonResponse<ApiResult> asJson(final ApiResult bean) {
            return new JsonResponse<>(bean);
        }
    
        protected ApiResult createFailureBean(final Status status, final String message) {
            return new ApiErrorResponse().message(message).status(status).result();
        }
    
        protected String createMessage(final ApiFailureResource resource, final Throwable cause) {
            if (!resource.getMessageList().isEmpty()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

      private static final class Sha512Holder {
        static final HashFunction SHA_512 =
            new MessageDigestHashFunction("SHA-512", "Hashing.sha512()");
      }
    
      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            code = 401,
            body = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}",
            headers = Headers.headersOf("content-type", "application/json"),
          ),
        )
        val source = newEventSource()
        assertThat(source.request().url.encodedPath).isEqualTo("/")
        listener.assertFailure(code = 401, message = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

      override fun toString(): String = toString(false)
    
      @JvmName("-deprecated_name")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "name"),
        level = DeprecationLevel.ERROR,
      )
      fun name(): String = name
    
      @JvmName("-deprecated_value")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "value"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top