Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 358 for RuntimeException (0.06 sec)

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

    package org.apache.maven.internal.transformation;
    
    /**
     * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()}
     * implementation.
     */
    public class TransformationFailedException extends RuntimeException {
    
        public TransformationFailedException(Throwable cause) {
            super(cause);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/CIFSExceptionTest.java

        @Test
        @DisplayName("Should create CIFSException with message and cause")
        void testCIFSExceptionWithCause() {
            // Given
            String message = "CIFS operation failed";
            Exception cause = new RuntimeException("Root cause");
    
            // When
            CIFSException exception = new CIFSException(message, cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                CreateContextRequest request = mock(CreateContextRequest.class);
                byte[] buffer = new byte[100];
                when(request.encode(any(byte[].class), anyInt())).thenThrow(new RuntimeException("Test error"));
    
                assertThrows(RuntimeException.class, () -> request.encode(buffer, 0));
            }
        }
    
        @Nested
        @DisplayName("Test Implementation Tests")
        class TestImplementationTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

     * This runtime exception indicates that a dictionary file or dictionary data
     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    public class DictionaryExpiredException extends RuntimeException {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new instance of DictionaryExpiredException.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenException.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Base class for all maven exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenException extends RuntimeException {
    
        public MavenException() {}
    
        public MavenException(String message) {
            super(message);
        }
    
        public MavenException(String message, Throwable cause) {
            super(message, cause);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 21:57:56 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            if (this.lmHash.length == 0 && this.ntHash.length == 0) {
                                throw new RuntimeException("Null setup prohibited.");
                            }
                        } else if (tc.getConfig().isDisablePlainTextPasswords()) {
                            throw new RuntimeException("Plain text passwords are disabled");
                        } else {
                            // plain text
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            CrawlerSystemException exception2 = new CrawlerSystemException(errorCause);
            assertSame(errorCause, exception2.getCause());
    
            // With RuntimeException cause
            RuntimeException runtimeCause = new RuntimeException("Runtime cause");
            CrawlerSystemException exception3 = new CrawlerSystemException(runtimeCause);
            assertSame(runtimeCause, exception3.getCause());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java

        }
    
        @Test
        public void test_getErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Error 1"));
            errors.add(new RuntimeException("Error 2"));
    
            SuggestDeleteResponse response = new SuggestDeleteResponse(errors, 100);
    
            assertNotNull(response.getErrors());
            assertEquals(2, response.getErrors().size());
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

                mockContext = new BaseContext(config);
                response = new SmbComNegotiateResponse(mockContext);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set up test", e);
            }
        }
    
        @Test
        public void testConstructor() {
            assertNotNull(response);
            assertEquals(DialectVersion.SMB1, response.getSelectedDialect());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            });
            if (!keptAccessors.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet());
                throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft);
            }
    
            // Find accessors that were removed but shouldn't be
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top