Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 2,367 for Exceptions (0.06 seconds)

  1. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        void testFallbackWhenOpen() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            String result = circuitBreaker.call(() -> "primary", () -> "fallback");
    
            assertEquals("fallback", result);
        }
    
        @Test
        @DisplayName("Test transition to HALF_OPEN after timeout")
        void testTransitionToHalfOpen() throws Exception {
            // Open the circuit
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
            assertNull(exception.getCause(), "Default constructor should have null cause");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * #transform}.
       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against the input's exception. "The input's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
       *     different kind of exception, that exception itself. To avoid hiding bugs and other
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.mylasta.action.FessMessages;
    import org.lastaflute.web.validation.VaMessenger;
    
    /**
     * Exception thrown during SSO (Single Sign-On) processing with message code support.
     *
     * This exception is used to indicate errors that occur during SSO authentication
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

    import junit.framework.TestCase;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ClassLoaderUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetClassLoader() throws Exception {
            assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exception/JobProcessingException.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 when an error occurs during job processing.
     * This exception is used to indicate problems that arise during
     * the execution or processing of jobs in the system.
     */
    public class JobProcessingException extends FessSystemException {
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBundle() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader());
            assertThat(bundle, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. 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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

    import org.codelibs.core.exception.EmptyArgumentException;
    import org.codelibs.core.exception.NoSuchConstructorRuntimeException;
    import org.codelibs.core.exception.NoSuchFieldRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class ClassUtilTest {
    
        /** */
        public static final String HOGE = "hoge";
    
        /**
         * @throws Exception
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top