Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 2,742 for throws (0.08 sec)

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

      private Path rootDir;
    
      @Override
      public void setUp() throws IOException {
        rootDir = Jimfs.newFileSystem(Configuration.unix()).getPath("/tmp");
        Files.createDirectory(rootDir);
      }
    
      @Override
      public void tearDown() throws IOException {
        rootDir.getFileSystem().close();
      }
    
      public void testFileTraverser_emptyDirectory() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 09 19:30:52 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolator.java

         */
        @Deprecated
        Model interpolate(Model project, Map<String, ?> context) throws ModelInterpolationException;
    
        /**
         * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead.
         */
        @Deprecated
        Model interpolate(Model model, Map<String, ?> context, boolean strict) throws ModelInterpolationException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
            return createMavenSession(pom, new Properties());
        }
    
        protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception {
            return createMavenSession(pom, executionProperties, false);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
        // let this throw NoSuchElementException as necessary
        E minSoFar = iterator.next();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/SingletonContext.java

         * 
         * This method can only be called once.
         * 
         * @param props
         * @throws CIFSException
         */
        public static synchronized final void init ( Properties props ) throws CIFSException {
            if ( INSTANCE != null ) {
                throw new CIFSException("Singleton context is already initialized");
            }
            Properties p = new Properties();
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

         * 
         * @param textual
         * @throws SmbException
         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

    
        public LsaPolicyHandle ( DcerpcHandle handle, String server, int access ) throws IOException {
            this.handle = handle;
            if ( server == null ) {
                server = "\\\\";
            }
            MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/IoTestCase.java

       */
      protected final File getTempDir() throws IOException {
        if (tempDir == null) {
          tempDir = createTempDir();
        }
    
        return tempDir;
      }
    
      /**
       * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will
       * be deleted in the tear-down for this test.
       */
      protected final File createTempFile() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
Back to top