Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 2,335 for Exceptions (0.06 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        IOException exception = new IOException();
    
        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        } catch (Throwable expected) {
          assertSame(exception, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
            // Test that the wrap method can be called without throwing an exception
            dcerpcSecurityProvider.wrap(mockNdrBuffer);
    
            // Verify that the wrap method was called exactly once with the mockNdrBuffer
            verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

        }
    
        /**
         * Sets the exception that occurred while accessing the content.
         *
         * @param e the exception to set.
         */
        public void setContentException(final Exception e) {
            contentException = e;
        }
    
        /**
         * Gets the exception that occurred while accessing the content, if any.
         *
         * @return the exception, or null if no exception occurred.
         */
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                return result;
            } catch (Exception e) {
                onFailure();
                throw e;
            }
        }
    
        /**
         * Execute a runnable through the circuit breaker
         *
         * @param runnable the runnable to execute
         * @throws Exception if execution fails or circuit is open
         */
        public void run(Runnable runnable) throws Exception {
            call(() -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    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.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

     */
    @Deprecated(since = "4.0.0")
    public class SettingsBuildingException extends Exception {
    
        private final List<SettingsProblem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

            add(severity, version, message, null, exception);
        }
    
        void add(
                BuilderProblem.Severity severity,
                ModelProblem.Version version,
                String message,
                InputLocation location,
                Exception exception);
    
        default void add(ModelProblem problem) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClIllegalStateException.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 IllegalStateException}.
     *
     * @author wyukawa
     */
    public class ClIllegalStateException extends IllegalStateException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/LdapOperationException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * An exception thrown when an LDAP operation fails.
     */
    public class LdapOperationException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new LDAP operation exception with the specified detail message and cause.
         *
         * @param message The detail message.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top