Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 2,867 for exception (1.52 sec)

  1. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link NoSuchFieldException}.
     *
     * @author higa
     */
    public class NoSuchFieldRuntimeException extends ClRuntimeException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * Base exception.
     *
     */
    public abstract class AbstractMojoExecutionException extends Exception {
        protected Object source;
    
        protected String longMessage;
    
        public AbstractMojoExecutionException(String message) {
            super(message);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
      private class ExceptionCatchingExecutor : ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) {
        private val exceptions: BlockingQueue<Exception> = LinkedBlockingQueue()
    
        override fun execute(runnable: Runnable) {
          super.execute {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

     */
    @GwtCompatible
    @NullMarked
    public class EvictingQueueTest extends TestCase {
    
      public void testCreateWithNegativeSize() throws Exception {
        assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1));
      }
    
      public void testCreateWithZeroSize() throws Exception {
        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Unit tests for DomUtils functionality with domtrip backend.
     */
    class DomUtilsTest {
    
        @Test
        void testFindChildElement() throws Exception {
            String pomXml = """
                <?xml version="1.0" encoding="UTF-8"?>
                <project xmlns="http://maven.apache.org/POM/4.0.0">
                    <modelVersion>4.0.0</modelVersion>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testToString() throws Exception {
        Service a = new NoOpService();
        Service b = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        String toString = manager.toString();
        assertThat(toString).contains("NoOpService");
        assertThat(toString).contains("FailStartService");
      }
    
      public void testTimeouts() throws Exception {
        Service a = new NoOpDelayedService(50);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

        /**
         * Checks if exceptions during the delay process should be ignored.
         * @return true if exceptions should be ignored, false otherwise.
         */
        public boolean isIgnoreException() {
            return ignoreException;
        }
    
        /**
         * Sets whether to ignore exceptions.
         * @param ignoreException true to ignore exceptions, false otherwise.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
        void testReadParameterWordsWireFormatZeroSetupCount() throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 10;
    
            // Prepare buffer with test data
            // Reserved bytes (3 bytes)
            buffer[bufferIndex] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

                    Arguments.of(loc, new IOException("io failed")));
        }
    
        @ParameterizedTest(name = "connectWrapException wraps {1} into SmbException")
        @MethodSource("wrapExceptions")
        void connectWrapException_wrapsToSmbException(SmbResourceLocatorImpl loc, Exception thrown) throws Exception {
            // Arrange: spy on instance to force connect() failure with specific exception
            CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        assertThat(exception.message)
          .isNotNull()
          .startsWith("canceled due to")
        assertThat(exception).isInstanceOf<IOException>()
        assertThat(exception.cause)
          .isNotNull()
          .matchesPredicate { it is InterruptedException || it is RejectedExecutionException }
        assertThat(clientTestRule.takeUncaughtException())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top