Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 519 for setMessage (0.05 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

                    IllegalStateException.class,
                    () -> assertActivation(false, newExistsProfile("${project.rootDirectory}"), context));
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        void testRootDirectory() {
            assertActivation(false, newExistsProfile("${project.rootDirectory}/someFile.txt"), context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            try {
                return settingsBuilder.build(request).getEffectiveSettings();
            } catch (SettingsBuildingException e) {
                throw new IOException(e.getMessage(), e);
            }
        }
    
        /** @since 2.1 */
        @Override
        public Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return the message describing this problem, never {@code null}
         */
        @Nonnull
        String getMessage();
    
        /**
         * Gets the severity level of this problem.
         *
         * @return the severity level of this problem, never {@code null}
         */
        @Nonnull
        Severity getSeverity();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return The message describing this problem, never {@code null}.
         */
        String getMessage();
    
        /**
         * Gets the severity level of this problem.
         *
         * @return The severity level of this problem, never {@code null}.
         */
        Severity getSeverity();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                    assertArrayEquals(ciphers, decoded.getCiphers());
                } catch (SMBProtocolDecodingException e) {
                    fail("Should not throw exception: " + e.getMessage());
                }
            }
    
            @Test
            @DisplayName("Should verify cipher constants")
            void testCipherConstants() {
                // Verify the cipher constants are correctly defined
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenTarg.java

                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
            try (ASN1InputStream der = new ASN1InputStream(token)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

         * "dns:/_ldap._tcp.dc._msdcs." + name,
         * new String[] { "SRV" }
         * );
         * return name;
         * } catch (NameNotFoundException nnfe) {
         * uhe = new UnknownHostException(nnfe.getMessage());
         * }
         * int dot = name.indexOf('.');
         * if (dot == -1)
         * break;
         * name = name.substring(dot + 1);
         * }
         * } catch (NamingException ne) {
         * if (log.level > 1)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> {
                AvPairs.decode(avPairData);
            });
    
            assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message");
        }
    
        /**
         * Test decode with invalid EOL (non-zero length)
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // When/Then: Should throw exception
                NdrException thrown = assertThrows(NdrException.class, () -> entry.decode(mockNdrBuffer));
                assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage());
            }
        }
    
        @Nested
        @DisplayName("SamrSamArray Tests")
        class SamrSamArrayTests {
    
            @Test
            @DisplayName("Should encode array with entries")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top