Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 3,282 for throwIt (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                causes.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        public final void closeContainer() throws Exception {
            if (containerCapsuleManaged) {
                doCloseContainer();
            }
        }
    
        public void doCloseContainer() throws Exception {
            if (containerCapsule != null) {
                try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

        @Inject
        public DefaultProjectArtifactFactory(ArtifactFactory artifactFactory) {
            this.artifactFactory = artifactFactory;
        }
    
        @Override
        public Set<Artifact> createArtifacts(MavenProject project) throws InvalidDependencyVersionException {
            return createArtifacts(artifactFactory, project.getDependencies(), null, null, project);
        }
    
        public static Set<Artifact> createArtifacts(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len);
            }
    
            // Read reserved field (should be all zeros but we don't validate)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

       *   <li>other method calls are dispatched to {@link #handleInvocation}.
       * </ul>
       */
      @Override
      public final @Nullable Object invoke(
          Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable {
        if (args == null) {
          args = NO_ARGS;
        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
        if (args.length == 1
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws InterruptedException {
                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedGraph() throws Exception {
        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
        Traverser.forTree(graph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedGraph_throws() throws Exception {
        MutableGraph<String> graph = GraphBuilder.undirected().build();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (2)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                throw new SearchEngineClientException("Failed to update doc  " + id, e);
            }
        }
    
        /**
         * Performs bulk update operations using a custom bulk request builder.
         *
         * @param consumer Consumer function to configure the bulk request builder
         * @return true if all bulk operations were successful, false otherwise
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertNull(init.getMechanisms());
    
                // Should not throw when converting to byte array
                assertDoesNotThrow(() -> init.toByteArray());
            }
    
            @Test
            @DisplayName("Large MIC values are handled correctly")
            void testLargeMicValue() throws Exception {
                byte[] largeMic = new byte[1024];
                Arrays.fill(largeMic, (byte) 0xAB);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessEventType.java

         * @return the corresponding WitnessEventType
         * @throws IllegalArgumentException if value is not recognized
         */
        public static WitnessEventType fromValue(int value) {
            for (WitnessEventType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
            throw new IllegalArgumentException("Unknown witness event type: " + value);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top