Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 492 for RuntimeException (0.1 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            rr.getPolicy(true).getUpdatePolicy(),
                            rr.getPolicy(false).getChecksumPolicy());
    
                } catch (Exception e) {
                    throw new RuntimeException("Unable to create repository", e);
                }
            } else {
                // TODO
                throw new UnsupportedOperationException("Not yet implemented");
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerBuildTask.java

                });
    
                try {
                    parameters.getMarkerFile().getAsFile().get().createNewFile();
                } catch (IOException e) {
                    throw new RuntimeException("Failed to create marker file", e);
                }
            }
        }
    
        interface Parameters extends WorkParameters {
            DirectoryProperty getDockerContext();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                    password = session.auth.getAnsiHash(session.transport.server.encryptionKey);
                    passwordLength = password.length;
                } else if (DISABLE_PLAIN_TEXT_PASSWORDS) {
                    throw new RuntimeException("Plain text passwords are disabled");
                } else {
                    // plain text
                    password = new byte[(session.auth.password.length() + 1) * 2];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to access field " + fieldName, e);
            }
        }
    
        /**
         * Test that the constructor initializes all fields correctly
         */
        @Test
        public void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            try {
              future.addListener(valueToSet, DirectExecutor.INSTANCE);
            } catch (Throwable t) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
              // addListener has thrown an exception! DelegatingToFuture.run can't throw any exceptions
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                    return new String[] { "invalid-repo" };
                }
    
                @Override
                protected String getRepositoryContent(String url) {
                    throw new RuntimeException("Repository error");
                }
            };
    
            try {
                errorHelper.getAvailableArtifacts(ArtifactType.DATA_STORE);
                fail("Expected PluginException");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            verify(response).getException();
        }
    
        @Test
        @DisplayName("Test Response interface methods - exception")
        void testException() {
            // Given
            Exception ex = new RuntimeException("Runtime error");
            doNothing().when(response).exception(ex);
    
            // When
            response.exception(ex);
    
            // Then
            verify(response).exception(ex);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testConstructorWithIllegalShareAccess() {
                // Test that constructor throws RuntimeException for illegal shareAccess parameter
                String url = "smb1://server/share/file.txt";
                int illegalShareAccess = 99; // Not a valid combination
                assertThrows(RuntimeException.class, () -> new SmbFile(url, null, illegalShareAccess));
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

            try {
                String xmlContent = build();
                Editor editor = new Editor(Document.of(xmlContent));
                return editor.document();
            } catch (Exception e) {
                throw new RuntimeException("Failed to build POM document", e);
            }
        }
    
        private record Parent(String groupId, String artifactId, String version) {}
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

                    exchange = new Exchange(event);
                }
                eventQueue.put(exchange);
                exchange.waitForProcessed();
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    
        private final ConcurrentHashMap<TransferResourceIdentifier, Boolean> ongoing = new ConcurrentHashMap<>();
    
        @Override
        public void transferInitiated(TransferEvent event) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top