Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 167 for EX (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException ex) {
                if (LogStream.level > 0) {
                    ex.printStackTrace(log);
                }
                throw new SmbException("MD5", ex);
            }
    
            this.macSigningKey = macSigningKey;
            this.bypass = bypass;
            this.updates = 0;
            this.signSequence = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Assert
            assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");
            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL");
            assertNull(ex.getCause(), "Cause should be null by default");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. ci/official/README.md

    #      Ex. macos_arm64      -- arm64 MacOS platform
    # 3. Add modifiers. Some modifiers for local execution are:
    #      Ex. disk_cache -- Use a local cache
    #      Ex. public_cache -- Use TF's public cache (read-only)
    #      Ex. public_cache_push -- Use TF's public cache (read and write, Googlers only)
    #      Ex. rbe        -- Use RBE for faster builds (Googlers only; see below)
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
          return true;
        }
    
        @Override
        public E next() {
          ex.fillInStackTrace();
          throw ex;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Act & Assert: both UnknownHostException and IOException should become CIFSException (SmbException)
            CIFSException ex = assertThrows(CIFSException.class, () -> trace.connectWrapException(loc));
            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Failed to connect to server"));
            assertSame(thrown, ex.getCause());
        }
    
        @Test
        @DisplayName("connectWrapException: rethrows SmbException unchanged")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            // Act + Assert: exception is propagated with message
            CIFSException ex = assertThrows(CIFSException.class, () -> handle.ensureDFSResolved());
            assertEquals("DFS resolution failed", ex.getMessage());
            verify(handle, times(1)).ensureDFSResolved();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Using an uppercase short name (no dot) must throw an unsupported operation
            SmbUnsupportedOperationException ex =
                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false));
            assertTrue(ex.getMessage().contains("Cannot use netbios/short names"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/SerializeUtil.java

                } finally {
                    CloseableUtil.close(ois);
                }
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } catch (final ClassNotFoundException ex) {
                throw new ClassNotFoundRuntimeException(ex);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
         * @param env
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top