Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,571 for cause (0.02 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              public void throwExceptionOn(String message) {
                throw exception;
              }
            };
        eventBus.register(subscriber);
        eventBus.post(EVENT);
    
        assertEquals("Cause should be available.", exception, handler.exception);
        assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus());
        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/SubscriberRegistry.java

           * UncheckedExecutionException, which has the stack trace from this thread and which has its
           * cause set to the underlying exception (which may be from another thread). If we someday
           * learn that some other exception besides IllegalArgumentException is common, then we could
           * add another special case to throw an instance of it, too.
           */
          throw e;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       */
      public void testLoadingExceptionWithCause() {
        Exception cause = new Exception();
        UncheckedExecutionException uee = new UncheckedExecutionException(cause);
        ExecutionException ee = new ExecutionException(cause);
    
        LoadingCache<Object, Object> cacheUnchecked =
            CacheBuilder.newBuilder().build(exceptionLoader(uee));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            return ans;
                        }
                        break;
                    case RESOLVER_WINS:
                    case RESOLVER_BCAST:
                        if (element == RESOLVER_WINS && name.name != NbtAddress.MASTER_BROWSER_NAME && name.hexCode != 0x1d) {
                            request.addr = NbtAddress.getWINSAddress();
                            request.isBroadcast = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            try {
                // Execute operations to generate metrics
                for (int i = 0; i < 5; i++) {
                    cbWithEnhanced.executeWithCircuitBreaker(() -> "success");
                }
    
                // Cause some failures
                for (int i = 0; i < 2; i++) {
                    try {
                        cbWithEnhanced.executeWithCircuitBreaker(() -> {
                            throw new RuntimeException("failure");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        // again with a different route.
        if (e is SSLHandshakeException) {
          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
          if (e.cause is CertificateException) {
            return false
          }
        }
        if (e is SSLPeerUnverifiedException) {
          // e.g. a certificate pinning error.
          return false
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
                 * the activated profiles can cause repo declarations to be lost which in turn will result in artifact
                 * resolution failures, in particular when using the enhanced local repo which guards access to local files
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    Of course, there are some cases where there's no problem in running the previous steps multiple times, in that case, it's a lot easier to handle.
    
    /// tip
    
    Also, keep in mind that depending on your setup, in some cases you **might not even need any previous steps** before starting your application.
    
    In that case, you wouldn't have to worry about any of this. 🤷
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        @DisplayName("Test readDataWireFormat with IOException throws ArrayIndexOutOfBoundsException")
        void testReadDataWireFormatWithIOException() throws Exception {
            // Create an invalid security descriptor buffer that will cause ArrayIndexOutOfBoundsException
            byte[] buffer = new byte[4];
    
            // Set error code to 0
            setErrorCode(response, 0);
    
            // ArrayIndexOutOfBoundsException is thrown when buffer is too small
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. cmd/erasure.go

    	case errors.Is(err, errFaultyDisk):
    		state = madmin.DriveStateFaulty
    	case errors.Is(err, errDriveIsRoot):
    		state = madmin.DriveStateRootMount
    	case err == nil:
    		state = madmin.DriveStateOk
    	default:
    		state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err)
    	}
    
    	return
    }
    
    func getOnlineOfflineDisksStats(disksInfo []madmin.Disk) (onlineDisks, offlineDisks madmin.BackendDisks) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top