Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,812 for rethrow (0.04 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("initContext then accessors propagate resolver CIFSException as log-only (no throw)")
            void testResolveWeakCIFSExceptionIsIgnored() throws Exception {
                SID sid = new SID("S-1-5-21-1-2-3");
                doThrow(new CIFSException("boom")).when(mockResolver).resolveSids(any(), anyString(), any());
                sid.initContext("srv", mockCtx);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbWatchHandleTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            }
            throw new IllegalArgumentException(
                "Expected low surrogate but got char '"
                    + c2
                    + "' with value "
                    + (int) c2
                    + " at index "
                    + index
                    + " in '"
                    + seq
                    + "'");
          } else {
            throw new IllegalArgumentException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/UnicodeEscaper.java

            }
            throw new IllegalArgumentException(
                "Expected low surrogate but got char '"
                    + c2
                    + "' with value "
                    + (int) c2
                    + " at index "
                    + index
                    + " in '"
                    + seq
                    + "'");
          } else {
            throw new IllegalArgumentException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.timeout;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.reflect.Reflection;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                throw uoe();
            }
    
            @Override
            public boolean add(E e) {
                throw uoe();
            }
    
            @Override
            public boolean remove(Object o) {
                throw uoe();
            }
    
            @Override
            public boolean retainAll(Collection<?> c) {
                throw uoe();
            }
    
            @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                        disconnect(true);
                        throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
                    }
                    break;
                case -1:
                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
                default:
                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean removeIf(Predicate<? super E> predicate) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final void clear() {
        throw new UnsupportedOperationException();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

            } catch (org.apache.maven.api.services.PrompterException e) {
                throw new IOException("Unable to prompt", e);
            }
        }
    
        @Override
        public String readPassword() throws IOException {
            try {
                return prompter.promptForPassword(null);
            } catch (org.apache.maven.api.services.PrompterException e) {
                throw new IOException("Unable to prompt", e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top