Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 2,185 for casse (0.04 seconds)

  1. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            });
    
            // Test throwing and catching with cause
            RuntimeException cause = new RuntimeException("Cause");
            TransportException thrown = assertThrows(TransportException.class, () -> {
                throw new TransportException(cause);
            });
            assertEquals(cause, thrown.getCause());
    
            // Test throwing and catching with message and cause
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            // Then
            assertSame(cause, exception.getCause(), "Crypto cause should be preserved");
            assertEquals(cause.toString(), exception.getMessage(), "Message should be cause.toString() when only cause is provided");
        }
    
        @Test
        @DisplayName("Message and cause constructor should preserve both crypto parameters")
        void testMessageAndCauseConstructor() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

        /**
         * Creates a {@link SAXRuntimeException}.
         *
         * @param cause the underlying exception
         */
        public SAXRuntimeException(final SAXException cause) {
            super("ECL0054", asArray(createMessage(cause)), cause);
        }
    
        /**
         * Creates a message.
         *
         * @param cause the underlying exception
         * @return the message
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            }
        }
    
        @Test
        @DisplayName("Cause-only constructor: preserves provided cause; no interactions with cause")
        void causeOnlyConstructor_preservesCause_andNoInteractions() {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException(mockCause);
    
            // Assert cause propagation
            assertSame(mockCause, ex.getCause(), "Cause should be exactly the provided instance");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. cmd/common-main.go

    	switch {
    	case ctx.IsSet("config-dir"):
    		ctxt.ConfigDir = ctx.String("config-dir")
    		ctxt.configDirSet = true
    	case ctx.GlobalIsSet("config-dir"):
    		ctxt.ConfigDir = ctx.GlobalString("config-dir")
    		ctxt.configDirSet = true
    	}
    
    	switch {
    	case ctx.IsSet("certs-dir"):
    		ctxt.CertsDir = ctx.String("certs-dir")
    		ctxt.certsDirSet = true
    	case ctx.GlobalIsSet("certs-dir"):
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  7. docs/en/docs/advanced/security/oauth2-scopes.md

    In this case, we pass a dependency function `get_current_active_user` to `Security` (the same way we would do with `Depends`).
    
    But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/ExecutionError.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@Nullable String message, @Nullable Error cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         *
         * <p>Note that the detail message associated with {@code cause} is <i>not</i>
         * automatically incorporated in this exception's detail message.</p>
         *
         * @param message the detail message (which is saved for later retrieval
         *                by the {@link #getMessage()} method).
         * @param cause   the cause (which is saved for later retrieval by the
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginLoaderException.java

            super(message, cause);
            pluginKey = plugin.getKey();
        }
    
        public PluginLoaderException(Plugin plugin, String message, PluginManagerException cause) {
            super(message, cause);
            pluginKey = plugin.getKey();
        }
    
        public PluginLoaderException(Plugin plugin, String message, PluginVersionNotFoundException cause) {
            super(message, cause);
            pluginKey = plugin.getKey();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
Back to Top