Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 2,324 for exception (1.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

            body.crudMode = CrudMode.CREATE;
            final RelatedQuery relatedQuery = getRelatedQuery(body).map(entity -> {
                try {
                    relatedQueryService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        @DisplayName("connectWrapException wraps UnknownHostException and IOException")
        void connectWrapException_wraps_io_and_unkhost() throws Exception {
            // Subclass to control connect() behavior
            SmbTreeConnection c = new SmbTreeConnection(ctx) {
                @Override
                public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException {
                    throw new java.net.UnknownHostException("nohost");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosFileFilterTest.java

        @Test
        void testAccept_ThrowsSmbException() throws SmbException {
            // Given a filter
            dosFileFilter = new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE);
            // and a mock file that throws an exception when getAttributes is called
            SmbException expectedException = new SmbException("Failed to get attributes");
            when(mockFile.getAttributes()).thenThrow(expectedException);
    
            // When calling accept
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
    
            // When
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java

        private final ArtifactResolverResult result;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         * @param result the resolution result containing detailed information
         */
        public ArtifactResolverException(String message, Exception e, ArtifactResolverResult result) {
            super(message, e);
            this.result = result;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java

    /**
     * The Exception class throw by the {@link SettingsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class SettingsBuilderException extends MavenBuilderException {
    
        @Serial
        private static final long serialVersionUID = 4714858598345418083L;
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java

    /**
     * The Exception class throw by the {@link ToolchainsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class ToolchainsBuilderException extends MavenBuilderException {
    
        @Serial
        private static final long serialVersionUID = 7899871809665729349L;
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/JobHelper.java

    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.ScheduledJobException;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.config.exbhv.JobLogBhv;
    import org.codelibs.fess.opensearch.config.exbhv.ScheduledJobBhv;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

      private final OkHttpClient client;
    
      public ConfigureTimeouts() throws Exception {
        client = new OkHttpClient.Builder()
            .connectTimeout(5, TimeUnit.SECONDS)
            .writeTimeout(5, TimeUnit.SECONDS)
            .readTimeout(5, TimeUnit.SECONDS)
            .callTimeout(10, TimeUnit.SECONDS)
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Sep 28 18:00:26 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java

        public PrompterException(String message) {
            super(message);
        }
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public PrompterException(String message, Exception e) {
            super(message, e);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top