Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2261 - 2270 of 3,804 for throws (0.04 seconds)

  1. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class SuppressErrorReportValveTest extends UnitFessTestCase {
    
        private SuppressErrorReportValve valve;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            valve = new SuppressErrorReportValve();
        }
    
        @Test
        public void test_constructor() {
            assertNotNull(valve);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return 0;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. README.md

    Get a URL
    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

                .reduce(FileTree::plus)
                .orElse(projectLayout.files().getAsFileTree());
        }
    
        @TaskAction
        public void checkInvalidPermissions() throws IOException {
            if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                throw new StopExecutionException();
            }
            List<String> failures = getFiles().getFiles()
                .stream()
                .filter(FilePermissionsTask::isExecutableFile)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/webapp/WebXmlTest.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class WebXmlTest extends UnitFessTestCase {
    
        private Document webXmlDocument;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setNamespaceAware(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 09:08:35 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          } else {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
    
          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
            statusLine.substring(codeStart, codeStart + 3).toIntOrNull()
              ?: throw ProtocolException(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            if (this.largeFile) {
                this.pid = SMBUtil.readInt2(buffer, bufferIndex);
                final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int nalgos = SMBUtil.readInt2(buffer, bufferIndex);
            final int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultToolchainTest {
        private final Logger logger = mock(Logger.class);
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.initMocks(this);
        }
    
        private DefaultToolchain newDefaultToolchain(ToolchainModel model) {
            return new DefaultToolchain(model, logger) {
                @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/GeoInfo.java

         * geo-distance queries for each configured geographic field.
         *
         * @param request the HTTP servlet request containing geographic parameters
         * @throws InvalidQueryException if geo point format is invalid or parsing fails
         */
        public GeoInfo(final HttpServletRequest request) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top