Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,871 for Exceptions (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

     */
    public class IntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
            assertEquals(Integer.valueOf("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/CIFSExceptionTest.java

            // Given
            String message = "CIFS operation failed";
            Exception cause = new RuntimeException("Root cause");
    
            // When
            CIFSException exception = new CIFSException(message, cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            method.setAccessible(true);
            method.invoke(crawlerThread, urlQueue, responseData);
    
            // Should not throw exception, just log
        }
    
        /**
         * Test run method with no URLs in queue.
         */
        public void test_run_noUrlsInQueue() throws Exception {
            when(urlQueueService.poll(anyString())).thenReturn(null);
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        private final int columnNumber;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        /**
         * Creates a new problem with the specified message and exception.
         * Either {@code message} or {@code exception} is required
         *
         * @param message The message describing the problem, may be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

        public void testGet() throws Exception {
            final BeanMap map = new BeanMap();
            map.put("aaa", 1);
            map.put("bbb", 2);
            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet_NotContains() throws Exception {
            exception.expect(IllegalKeyOfBeanMapException.class);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

        private final MojoExecution mojoExecution;
    
        private final Exception exception;
    
        DefaultExecutionEvent(Type type, MavenSession session, MojoExecution mojoExecution, Exception exception) {
            this.type = type;
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.exception = exception;
        }
    
        @Override
        public Type getType() {
            return type;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against this step's exception. "This step's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future}
       *     underlying this step or, if {@code get()} throws a different kind of exception, that
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

    /**
     * Classes and futures used in {@link FuturesGetCheckedTest} and {@link FuturesGetUncheckedTest}.
     */
    @GwtCompatible
    @NullUnmarked
    final class FuturesGetCheckedInputs {
      static final Exception CHECKED_EXCEPTION = new Exception("mymessage");
      static final Future<String> FAILED_FUTURE_CHECKED_EXCEPTION =
          immediateFailedFuture(CHECKED_EXCEPTION);
      static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
Back to Top