Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 2,327 for Exceptions (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      @Override
      protected void tearDown() {
        stack.runTearDown();
      }
    
      static final Exception EXCEPTION = new Exception();
    
      static final class ExampleClassUnderTest {
        static final Logger logger = Logger.getLogger(ExampleClassUnderTest.class.getName());
    
        static void foo() {
          logger.log(Level.INFO, "message", EXCEPTION);
        }
    
        private ExampleClassUnderTest() {}
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java

    /**
     * The Exception class throw by the {@link Lookup} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class LookupException extends MavenException {
    
        public LookupException(String message) {
            super(message);
        }
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 21:57:56 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            }
        }
    
        protected MavenProject getProject(File pom) throws Exception {
            ProjectBuildingRequest configuration = newBuildingRequest();
    
            return projectBuilder.build(pom, configuration).getProject();
        }
    
        protected MavenProject getProjectFromRemoteRepository(final File pom) throws Exception {
            final ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/SsoProcessException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown during SSO (Single Sign-On) processing operations.
     *
     * This exception is used to indicate errors that occur during the execution
     * of SSO authentication and authorization processes. It extends FessSystemException
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // When & Then - InvocationTargetException wraps the actual exception when using reflection
                Exception exception = assertThrows(Exception.class,
                        () -> invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0),
                        "Should throw exception for invalid structure size");
    
                // Verify the actual cause is SMBProtocolDecodingException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         * @throws Exception
         */
        public void testGetActualKeyClassOfMap() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class);
            final Method method = Hoge.class.getMethod("map");
            assertThat(GenericsUtil.getActualKeyClassOfMap(method.getGenericReturnType(), map), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(map.size(), equalTo(3));
            map.put("3", "test3");
            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java

                return exception;
            }
    
            private final PluginResolutionException exception;
    
            public CacheRecord(List<Artifact> artifacts) {
                this.artifacts = artifacts;
                this.exception = null;
            }
    
            public CacheRecord(PluginResolutionException exception) {
                this.artifacts = null;
                this.exception = exception;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top