Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,053 for IOException (0.06 seconds)

  1. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // Test with different types of cause exceptions
    
            // Test with IOException
            Throwable ioCause = new java.io.IOException("IO error");
            GsaConfigException ioException = new GsaConfigException("GSA IO error", ioCause);
            assertNotNull(ioException);
            assertTrue(ioException.getCause() instanceof java.io.IOException);
    
            // Test with custom exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] readBuffer = new byte[100];
            assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("readTrailerWireFormat should throw IOException with specific message")
        void testReadTrailerWireFormatErrorMessage() {
            byte[] buffer = new byte[10];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/Type1Message.java

        private void parse(final byte[] material) throws IOException {
            int pos = 0;
            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if (readULong(material, pos) != NTLMSSP_TYPE1) {
                throw new IOException("Not a Type 1 message.");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/UpdateShasTask.java

    import org.gradle.api.logging.Logging;
    import org.gradle.api.tasks.Internal;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.api.tasks.TaskProvider;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.StandardOpenOption;
    import java.security.NoSuchAlgorithmException;
    import java.util.Set;
    
    /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
          @Suppress("DEPRECATION")
          return when (protocol) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        }
    
        /**
         * Initialize multi-channel support
         *
         * @throws IOException if initialization fails
         */
        public void initializeMultiChannel() throws IOException {
            // Check server capability
            if (!supportsMultiChannel()) {
                log.info("Server does not support multi-channel");
                return;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * @param chain the filter chain to continue processing
         * @throws IOException if an I/O error occurs during processing
         * @throws ServletException if a servlet error occurs
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest req = (HttpServletRequest) request;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
        val sourceCodePoint0 = readHexadecimalUnsignedLong()
        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. .teamcity/scripts/FindCommits.java

        }
    
        private static boolean refExists(String ref) throws IOException, InterruptedException {
            ExecResult r = exec("git", "rev-parse", "--verify", ref);
            return r.exitCode == 0;
        }
    
        private static void run(String... cmd) throws IOException, InterruptedException {
            ExecResult r = exec(cmd);
            if (r.exitCode != 0) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.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;
    
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import java.nio.file.FileVisitResult;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.SimpleFileVisitor;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top