Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,205 for exceptions (0.05 sec)

  1. android/guava-tests/test/com/google/common/base/TestExceptions.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. 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}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        }
    
        @Test
        @DisplayName("Should create new connections when reuse conditions are not met")
        void testNoConnectionReuse() throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
            when(ctx.getTransportPool()).thenReturn(testPool);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLtrim() throws Exception {
            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * Exception that wraps {@link UnsupportedOperationException}.
     *
     * @author wyukawa
     */
    public class ClUnsupportedOperationException extends UnsupportedOperationException {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        void testGetDialectRevision() throws Exception {
            // Given
            setPrivateField(response, "dialectRevision", 0x0311);
    
            // When
            int dialect = response.getDialectRevision();
    
            // Then
            assertEquals(0x0311, dialect);
        }
    
        @Test
        @DisplayName("Should return server GUID")
        void testGetServerGuid() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        Exception exception = new RuntimeException("test");
        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
                () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS));
        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception {
        String result =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/log/LoggerTest.java

            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

    public class FessActionAdjustmentProviderTest extends UnitFessTestCase {
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_write_noConfig() throws Exception {
            final FessConfig fessConfig = createFessConfigWithResponseHeaders("");
            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top