Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 2,976 for throw (0.04 sec)

  1. src/main/java/org/codelibs/fess/entity/PingResponse.java

                if (StringUtil.isBlank(message)) {
                    message = "{}";
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets the status.
         *
         * @return the status
         */
        public int getStatus() {
            return status;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.4K bytes
    - Viewed (2)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

              val responseHeaders = response.headers
              for (i in 0 until responseHeaders.size) {
                println(responseHeaders.name(i) + ": " + responseHeaders.value(i))
              }
              throw IOException("Unexpected code $response")
            }
            println(response.body.string())
    
            for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            try {
                java.lang.reflect.Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NbtExceptionTest.java

         */
        @Test
        @DisplayName("NbtException should be catchable as CIFSException")
        void testCatchableAsCIFSException() {
            try {
                throw new NbtException(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR);
            } catch (CIFSException e) {
                assertTrue(e instanceof NbtException, "Caught exception should be an instance of NbtException");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                buildScanTags = listOf("Check"),
                subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")),
            )
        val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!"))
        val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json"))
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                final int start = bufferIndex;
    
                version = readInt2(buffer, bufferIndex);
                if (version != 3 && version != 1) {
                    throw new RuntimeException("Version " + version + " referral not supported. Please report this to jcifs at samba dot org.");
                }
                bufferIndex += 2;
                size = readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/BucketExtensions.kt

        largeElementSplitFunction: (T, Int) -> List<R>,
        smallElementAggregateFunction: (List<T>) -> R,
        expectedBucketNumber: Int,
        maxNumberInBucket: Int,
        noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") },
        canRunTogether: (T, T) -> Boolean = { _, _ -> true },
    ): List<R> {
        if (list.isEmpty()) {
            return noElementSplitFunction(expectedBucketNumber)
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                    bindWithNullBinding.encode_in(mockBuffer);
                }, "Should throw NullPointerException when binding is null");
            }
    
            @Test
            @DisplayName("encode_in should use default constructor values")
            void testEncodeInDefaultConstructor() throws Exception {
                // Given
                DcerpcBind defaultBind = new DcerpcBind();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        void testReadParameterWordsWithShortBuffer() {
            byte[] buffer = new byte[] { 0x00, 0x01, 0x02 }; // only three bytes
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readParameterWordsWireFormat(buffer, 0));
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with null buffer - throws NullPointerException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbWatchHandleTest.java

                        throw new CIFSException("Watch interrupted");
                    }
                    return Collections.emptyList();
                }
    
                @Override
                public List<FileNotifyInformation> call() throws CIFSException {
                    return watch();
                }
    
                @Override
                public void close() throws CIFSException {
                    // Do nothing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top