Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 469 for getMessage (0.05 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                provider.provide(null);
                fail("Should throw exception for null classification name");
            } catch (ProvidedClassificationNotFoundException e) {
                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            if (artifact.isSnapshot()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertTrue(exception instanceof Throwable);
        }
    
        public void test_getMessage() {
            // Test that getMessage returns null (no message set in constructor)
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getMessage());
        }
    
        public void test_getCause() {
            // Test that getCause returns null (no cause set in constructor)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            target.close();
            CIFSException e1 = assertThrows(SmbException.class, target::getInput);
            assertTrue(e1.getMessage().contains("Already closed"));
            CIFSException e2 = assertThrows(SmbException.class, target::getOutput);
            assertTrue(e2.getMessage().contains("Already closed"));
        }
    
        @Test
        @DisplayName("ensureOpen throws after close() is called")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertFalse(session.isInUse());
    
            // Next release goes below zero and throws
            RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release);
            assertTrue(ex.getMessage().contains("below zero"));
    
            // Only one transport release should have occurred
            verify(transport, times(1)).release();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SecureCredentialStorage.java

                    }
    
                } catch (DestroyFailedException e) {
                    // Re-throw DestroyFailedException as-is
                    throw e;
                } catch (Exception e) {
                    // For any other exception, wrap it
                    throw new DestroyFailedException("Failed to destroy secure storage: " + e.getMessage());
                } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw");
            assertTrue(ex1.getMessage().contains("Already closed"));
            CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw");
            assertTrue(ex2.getMessage().contains("Already closed"));
        }
    
        @Test
        @DisplayName("ensureOpen opens SMB2 via UNC path and marks open")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

                    "Should throw exception when length < 24");
    
            assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match");
        }
    
        @Test
        @DisplayName("Test decode throws exception with zero length")
        void testDecodeThrowsExceptionWithZeroLength() {
            byte[] buffer = new byte[28];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            String malformedUrl = "invalid-url";
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.get(malformedUrl);
            });
            assertTrue(thrown.getMessage().contains("Invalid URL"));
            assertTrue(thrown.getCause() instanceof MalformedURLException);
        }
    
        @Test
        void testGetPipe() throws CIFSException, MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

                byte[] actualBuffer = (byte[]) outputBufferField.get(response);
                assertSame(outputBuffer, actualBuffer);
            } catch (Exception e) {
                fail("Failed to access outputBuffer field: " + e.getMessage());
            }
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Test that writeSetupWireFormat returns 0
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top