Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 492 for RuntimeException (0.07 seconds)

  1. android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java

    /**
     * Unchecked version of {@link java.util.concurrent.TimeoutException}.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class UncheckedTimeoutException extends RuntimeException {
      public UncheckedTimeoutException() {}
    
      public UncheckedTimeoutException(@Nullable String message) {
        super(message);
      }
    
      public UncheckedTimeoutException(@Nullable Throwable cause) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/TemplateUtils.java

                final SimpleTemplateEngine engine = new SimpleTemplateEngine();
                engine.createTemplate(template).make(bindings).writeTo(writer);
            } catch (ClassNotFoundException e) {
                throw new RuntimeException(e);
            }
    
            return writer.toString().replace("\\r", "");
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void test_suppressionAndStackTrace() {
            // Test that suppression and stack trace are disabled (as per constructor)
            String parentUrl = "http://example.com/parent";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. 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 {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

        }
    
        protected Element getChild(Element element, String childName) {
            Element child = findChild(element, childName);
            if (child != null) {
                return child;
            }
            throw new RuntimeException(String.format("No <%s> element found in <%s>", childName, element.getTagName()));
        }
    
        protected Element findChild(Element element, String childName) {
            NodeList childNodes = element.getChildNodes();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ComputationException.java

     *     of those types instead. (Note that this type, though deprecated, is not planned to be removed
     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    public class ComputationException extends RuntimeException {
      /** Creates a new instance with the given cause. */
      public ComputationException(@Nullable Throwable cause) {
        super(cause);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ComputationException.java

     *     of those types instead. (Note that this type, though deprecated, is not planned to be removed
     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    public class ComputationException extends RuntimeException {
      /** Creates a new instance with the given cause. */
      public ComputationException(@Nullable Throwable cause) {
        super(cause);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. 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.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top