Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 453 for Throwables (0.07 sec)

  1. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
            // Test serialVersionUID exists
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbException.java

         *
         * @param errcode the SMB error code
         * @param rootCause the underlying cause of this exception
         */
        public SmbException(final int errcode, final Throwable rootCause) {
            super(getMessageByCode(errcode), rootCause);
            this.status = getStatusByCode(errcode);
        }
    
        /**
         * Constructs an SmbException with the specified detail message
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
    
            // Should be instance of Exception
            assertTrue(exception instanceof Exception);
    
            // Should be instance of Throwable
            assertTrue(exception instanceof Throwable);
    
            // Should not require try-catch (unchecked exception)
            throwUnchecked(); // This compiles without try-catch
        }
    
        private void throwUnchecked() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

            return this.creds;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#renewCredentials(java.lang.String, java.lang.Throwable)
         */
        @Override
        public boolean renewCredentials(final String locationHint, final Throwable error) {
            final Credentials cred = getCredentials();
            if (cred instanceof final SmbRenewableCredentials renewable) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testForwardExceptionFastPath() throws Exception {
        class FailFuture extends InternalFutureFailureAccess implements ListenableFuture<String> {
          final Throwable failure;
    
          FailFuture(Throwable throwable) {
            failure = throwable;
          }
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullCause() {
            // Test with null cause
            DataStoreException exception = new DataStoreException((Throwable) null);
    
            assertNotNull(exception);
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
        }
    
        public void test_constructor_withNullMessageAndCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolutionException.java

        public GraphConflictResolutionException(String message) {
            super(message);
        }
    
        public GraphConflictResolutionException(Throwable cause) {
            super(cause);
        }
    
        public GraphConflictResolutionException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * @param executor the executor that runs {@code fallback} if the input fails
       */
      @J2ktIncompatible
      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catching(
          Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) {
        return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            verify(mockDelegate).withGuestCrendentials();
        }
    
        @Test
        void testRenewCredentials_True() {
            // Test renewCredentials(String locationHint, Throwable error) method when true
            String locationHint = "testLocation";
            Throwable error = new RuntimeException("testError");
            when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

         */
        public ClIllegalStateException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClIllegalStateException}.
         *
         * @param cause
         *            The original exception
         */
        public ClIllegalStateException(final Throwable cause) {
            super(cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top