Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 602 for getMessager (0.59 seconds)

  1. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

        void testConstructorWithMessage() {
            String testMessage = "This is a test message for NdrException.";
            NdrException exception = new NdrException(testMessage);
            assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message.");
        }
    
        /**
         * Test the NO_NULL_REF static field.
         * Ensures that the static field holds the expected string value.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java

         *
         * @param cause
         *            the cause
         */
        public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java

                return CommonsCliEncryptOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // When & Then: Constructor should throw SmbException
            SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null));
    
            assertTrue(exception.getMessage().contains("invalid"));
            verify(treeHandle, never()).acquire();
        }
    
        @Test
        @DisplayName("Constructor should handle null parent")
        void testConstructor_NullParent_ThrowsNPE() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    if (e.getCause() instanceof org.eclipse.aether.transfer.ArtifactNotFoundException) {
                        throw new ArtifactNotFoundException(e.getMessage(), artifact, remoteRepositories, e);
                    } else {
                        throw new ArtifactResolutionException(e.getMessage(), artifact, remoteRepositories, e);
                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

         *
         * @param cause
         *            the cause
         */
        public BadPaddingRuntimeException(final BadPaddingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                    try {
                        Files.writeString(outputFile, "", StandardCharsets.UTF_8);
                    } catch (IOException e) {
                        System.err.println("ERROR: Failed to write output file: " + e.getMessage());
                        System.err.flush();
                        System.exit(1);
                    }
                }
                return;
            }
    
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                                return problem.getException();
                            }
    
                            @Override
                            public String getMessage() {
                                return problem.getMessage();
                            }
    
                            @Override
                            public Severity getSeverity() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top