Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,324 for exception (0.05 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

                String wagon, final Exception exception, final int requestType, ArtifactTransferResource artifact) {
            this(wagon, TRANSFER_ERROR, requestType, artifact);
    
            this.exception = exception;
        }
    
        public ArtifactTransferResource getResource() {
            return artifact;
        }
    
        /**
         * @return Returns the exception.
         */
        public Exception getException() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    assertNotNull(result);
                } catch (Exception e) {
                    // Expected behavior when components are not fully initialized
                    Throwable cause = e.getCause();
                    assertNotNull(cause);
                }
            } catch (Exception e) {
                // Test setup exception is acceptable
                assertNotNull(e);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/EmptyArgumentException.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 thrown when an argument is empty.
     *
     * @author higa
     */
    public class EmptyArgumentException extends ClIllegalArgumentException {
    
        private static final long serialVersionUID = 4625805280526951642L;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

     *
     */
    public class LongConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(Long.valueOf("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
            assertEquals(1000, LongConversionUtil.toPrimitiveLong("1,000"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
    
            try {
                boostQueryCommand.execute(context, null, 1.0f);
                fail("Should have thrown exception");
            } catch (Exception e) {
                // Expected exception (either InvalidQueryException or NullPointerException)
                assertTrue(e instanceof InvalidQueryException || e instanceof NullPointerException);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

                    } else {
                        String errorMsg = response != null ? response.getError() : "Response was null";
                        throw new IOException("Witness registration failed: " + errorMsg);
                    }
    
                } catch (Exception e) {
                    log.error("Failed to register for witness notifications", e);
                    throw new RuntimeException(e);
                }
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    import org.codelibs.fess.crawler.extractor.impl.TikaExtractor;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                } catch (Exception e) {
                    // Expected due to missing dependencies in test environment
                    assertTrue(true);
                    return;
                }
                // Should handle null keywords gracefully
                assertNotNull(functionBuilders);
            } catch (Exception e) {
                // May throw exception due to null handling
                assertNotNull(e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top