Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,812 for rethrow (0.04 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          throw new RuntimeException("bad constructor");
        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
      static final class ExceptionWithBadConstructor extends Exception {
        public ExceptionWithBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
            synchronized (PROTOCOL_HANDLERS) {
                if (Handler.factory != null) {
                    throw new IllegalStateException("URLStreamHandlerFactory already set.");
                }
                PROTOCOL_HANDLERS.clear();
                Handler.factory = factory;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            // Create a spy on the context to make close() throw an exception
            TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) {
                @Override
                public boolean close() throws CIFSException {
                    super.close(); // Call original close to set closeCalled
                    throw new CIFSException("Test exception during close");
                }
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    String version = resolveVersion(artifact, request);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

                    f.setAccessible(true);
                    return f.get(target);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
        private static void setPrivateField(Object target, String fieldName, Object value) throws Exception {
            Class<?> clazz = target.getClass();
            while (clazz != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        public Object badIgnored() {
          return new BadEquals();
        }
    
        // primitive ignored
        public int returnsInt() {
          throw new UnsupportedOperationException();
        }
    
        // void ignored
        public void voidMethod() {
          throw new UnsupportedOperationException();
        }
    
        // non-public method ignored
        static Object badButNotPublic() {
          return new BadEquals();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        if (!mechs.contains(NtlmContext.NTLMSSP_OID)) {
                            throw new SmbUnsupportedOperationException("Server does not support NTLM authentication");
                        }
                    }
                }
            } catch (SmbException e) {
                throw e;
            } catch (IOException e1) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                    statusField.setAccessible(true);
                    statusField.set(this, status);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            public void setFlagsForTest(int flags) {
                // Workaround: Use reflection to set private flags field
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top