Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,760 for throwIt (0.03 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.entry_path, 1);
    
                if (this.entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.entry_path);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
     * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged.
     *
     * @author Nishant Thakkar
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SpnegoContext.java

            } catch (final CIFSException e) {
                throw new CIFSException("Failed to verify mechanismListMIC", e);
            }
        }
    
        /**
         * @param mechs
         * @return
         * @throws CIFSException
         */
        private static byte[] encodeMechs(final ASN1ObjectIdentifier[] mechs) throws CIFSException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
        assertThat(getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause);
        assertThat(getCauseAs(thrown, Exception.class)).isSameInstanceAs(cause);
    
        ClassCastException expected =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a valid byte array.
         *
         * @throws PACDecodingException if the PAC decoding fails.
         */
        @Test
        void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
            // A byte array with a length less than 32 should be correct.
            byte[] validData = new byte[31];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

        private IntervalControlHelper intervalControlHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            intervalControlHelper = new IntervalControlHelper();
        }
    
        public void test_noRule() {
            assertEquals(0, intervalControlHelper.getDelay());
        }
    
        public void test_0000() throws ParseException {
            final IntervalControlHelper intervalControlHelper = createHelper("00:00", 1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
                    throw new IOException("Test exception");
                }
            };
    
            try {
                SearchEngineUtil.getXContentString(xContent, XContentType.JSON);
                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
            // Create a mock KerberosAuthData to be returned by the mocked parse method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            when(mockSid.unwrap(sid_t.class)).thenReturn(mockSidT);
            testSids = new jcifs.SID[] { mockSid };
    
            // Act & Assert - Constructor accepts null, no exception thrown
            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * that this throws different exception types, and throws an exception if {@code null} would be
       * returned).
       *
       * @param position position of the element to return
       * @return the element at the specified position in this fluent iterable
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
Back to top