Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 1,885 for Exception (0.14 sec)

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

     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/timer/TimeoutTask.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.timer;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    
    /**
     * タイムアウトを管理するクラスです。
     *
     * @author higa
     *
     */
    public class TimeoutTask {
    
        private static final int ACTIVE = 0;
    
        private static final int STOPPED = 1;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

        // prefer to use version 1.0.
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagementOverridesTransitiveDependencyVersion() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

    /**
     * Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
     * TODO merge with artifactmetadatasource
     * TODO retrieval exception not appropriate for store
     *
     */
    public interface ArtifactMetadata {
        /**
         * Whether this metadata should be stored alongside the artifact.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        if (!super.setException(new WrapperException(checkNotNull(e)))) {
          throw new IllegalStateException("Future was already complete: " + this);
        }
      }
    
      private static final class WrapperException extends Exception {
        WrapperException(Throwable t) {
          super(t);
        }
      }
    
      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteArrayDataInput.java

     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
     * of the supertype's contract, which specifies a checked exception.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataInput extends DataInput {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. test-site/app/models/ContentsCreator.java

                        .setCreate(true)
                        .setSource(source)
                        .execute()
                        .actionGet();
                    count++;
                    Thread.sleep(500);
                } catch(Exception e) {
                    Logger.warn(e.getMessage(), e);
                }
            }
        }
    
        protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        private static String getProjectKey(MavenProject project) {
            return ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId());
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, long time) {
            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public boolean hasBuildFailures() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      private ClassToInstanceMap<Number> map;
    
      @Override
      protected void setUp() throws Exception {
        map = MutableClassToInstanceMap.create();
      }
    
      public void testConstraint() {
    
        /**
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    }
                    if (StringUtil.isNotBlank(region)) {
                        builder.region(region);
                    }
                    minioClient = builder.build();
                } catch (final Exception e) {
                    throw new IOException("Failed to create MinioClient.", e);
                }
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top