Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,812 for rethrow (0.07 sec)

  1. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
         * @param env
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testComputeIfPresent_unsupportedAbsent() {
        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                            RequestParam.NO_RETRY);
                }
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public final boolean readBoolean() throws SmbException {
            if (read(this.tmp, 0, 1) < 0) {
                throw new SmbEndOfFileException();
            }
            return this.tmp[0] != (byte) 0x00;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                }
    
            } catch (final Exception e) {
                throw new IllegalArgumentException("failed to build synonyms", e);
            }
        }
    
        private Reader getReader(final boolean reload) throws IOException {
            if (reload) {
                if (reloadableFile == null) {
                    throw new IllegalArgumentException("reloadableFile is null.");
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            @Override
            public GeoInfo getGeoInfo() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public FacetInfo getFacetInfo() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getSort() {
                throw new UnsupportedOperationException();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    final String servletPath = request.getServletPath();
                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
                        throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token.");
                    }
                    final String path;
                    final String value = servletPath.substring(pathPrefix.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

              }
          }
          else -> {
            if (reservedFlag1) throw ProtocolException("Unexpected rsv1 flag")
          }
        }
    
        val reservedFlag2 = b0 and B0_FLAG_RSV2 != 0
        if (reservedFlag2) throw ProtocolException("Unexpected rsv2 flag")
    
        val reservedFlag3 = b0 and B0_FLAG_RSV3 != 0
        if (reservedFlag3) throw ProtocolException("Unexpected rsv3 flag")
    
        val b1 = source.readByte() and 0xff
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                fileIdField.setAccessible(true);
                byte[] actualFileId = (byte[]) fileIdField.get(request);
                assertArrayEquals(expectedFileId, actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test constructor with Configuration and FileId")
        void testConstructorWithConfigAndFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

        source: Path,
        target: Path,
      ) {
        if (renameFaults.contains(source) || renameFaults.contains(target)) throw IOException("boom!")
        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        if (deleteFaults.contains(path)) throw IOException("boom!")
        super.delete(path, mustExist)
      }
    
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. 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()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top