Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,773 for throwIt (0.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

            throws InterruptedException {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
            throws ExecutionException, InterruptedException {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

        private IntervalControlHelper intervalControlHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            intervalControlHelper = new IntervalControlHelper();
        }
    
        public void test_noRule() {
            assertEquals(0, intervalControlHelper.getDelay());
        }
    
        public void test_0000() throws ParseException {
            final IntervalControlHelper intervalControlHelper = createHelper("00:00", 1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *   at ...
       * Caused by: com...ExampleStackTrace: ReadWriteA -&gt; LockB
       *   at ...
       *   at ...
       * </pre>
       *
       * <p>Instances are logged for the {@code Policies.WARN}, and thrown for {@code Policies.THROW}.
       *
       * @since 13.0
       */
      public static final class PotentialDeadlockException extends ExampleStackTrace {
    
        private final ExampleStackTrace conflictingStackTrace;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
            // Create a mock KerberosAuthData to be returned by the mocked parse method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt");
            assertTrue(filter.accept(dir, "Hello.TXT"));
        }
    
        @Test
        void acceptReturnsFalseWhenNameDoesNotMatch() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
        if (wrapper instanceof WrapperException) {
          Throwable cause = wrapper.getCause();
          if (cause instanceof RuntimeException) {
            throw (RuntimeException) cause;
          } else if (cause instanceof Error) {
            throw (Error) cause;
          }
        }
        throw e;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         *            session identifier
         * @return encrypted message with transform header
         * @throws CIFSException
         *             if encryption fails
         */
        public byte[] encryptMessage(final byte[] message, final long sessionId) throws CIFSException {
            if (message == null) {
                throw new IllegalArgumentException("Message cannot be null");
            }
    
            // Validate encryption parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

         * @param smbFile the SmbFile directory to list
         * @return array of SmbFile objects representing the directory contents
         * @throws SmbException if an error occurs
         */
        public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException {
            if (!smbFile.isDirectory()) {
                throw new SmbException("Not a directory: " + smbFile.getPath());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

         * @param hashAlgorithm the selected hash algorithm
         * @return the created context
         * @throws CIFSException if initialization fails
         */
        public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException {
            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        @Test
        void testInitializationWithoutMultiChannelSupport() throws IOException {
            when(mockConfig.isUseMultiChannel()).thenReturn(false);
            ChannelManager manager = new ChannelManager(mockContext, mockSession);
    
            manager.initializeMultiChannel();
    
            assertFalse(manager.isUseMultiChannel());
        }
    
        @Test
        void testGetHealthyChannels() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top