Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 257 for occurs (0.1 sec)

  1. android/guava/src/com/google/common/io/Closeables.java

       *   boolean threw = true;
       *   try {
       *     // ... code which does something with the stream ...
       *     threw = false;
       *   } finally {
       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            try {
                file.close();
                tmp = null;
            } catch (SmbException se) {
                throw seToIoe(se);
            }
        }
    
    /**
     * Reads a byte of data from this input stream.
     *
     * @throws IOException if a network error occurs
     */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

       *
       * @param from the input stream to read from
       * @param to the output stream to write to
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
      public static long copy(InputStream from, OutputStream to) throws IOException {
        checkNotNull(from);
        checkNotNull(to);
        byte[] buf = createBuffer();
        long total = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            }
        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultPluginXmlFactory().fromXmlString(xml);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/ChecksumFailedException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.wagon.TransferFailedException;
    
    /**
     * Occurs when a download checksum fails.
     *
     */
    @Deprecated
    public class ChecksumFailedException extends TransferFailedException {
        public ChecksumFailedException(String s) {
            super(s);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

         * and allows the {@code Mojo} to communicate errors.
         *
         * @throws MojoException if a problem occurs
         */
        void execute();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Aug 26 13:14:03 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserException.java

     * under the License.
     */
    package org.apache.maven.api.cli;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * Represents an exception that occurs during the parsing of Maven command-line arguments.
     * This exception is typically thrown when there are user errors in the command-line input,
     * such as invalid arguments or references to missing files. When this exception is thrown,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java

                clientConnectionManager.closeIdleConnections(idleConnectionTimeout, TimeUnit.MILLISECONDS);
            } catch (final Exception e) {
                logger.warn("A connection monitoring exception occurs.", e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/InvalidVersionSpecificationException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Occurs when a version is invalid.
     *
     */
    public class InvalidVersionSpecificationException extends Exception {
        public InvalidVersionSpecificationException(String message) {
            super(message);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. internal/lsync/lrwmutex.go

    func (lm *LRWMutex) Lock() {
    	const isWriteLock = true
    	lm.lockLoop(context.Background(), lm.id, lm.source, math.MaxInt64, isWriteLock)
    }
    
    // GetLock tries to get a write lock on lm before the timeout occurs.
    func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) {
    	const isWriteLock = true
    	return lm.lockLoop(ctx, id, source, timeout, isWriteLock)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top