Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,976 for throwIt (0.06 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

            protected long makeKey(Request request) throws IOException {
                return nextKey++;
            }
    
            @Override
            protected Long peekKey() throws IOException {
                if (recvException != null) {
                    throw recvException;
                }
                return peekedKey;
            }
    
            @Override
            protected void doSend(Request request) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

         * @param wagon
         * @param repository
         *
         * @throws ConnectionException
         * @throws AuthenticationException
         */
        private void connectWagon(Wagon wagon, ArtifactRepository repository)
                throws ConnectionException, AuthenticationException {
            // MNG-5509
            // See org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(Wagon)
            if (legacySupport.getRepositorySession() != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message.writeULong(invalidType, 8, Type2Message.NTLMSSP_TYPE1);
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidType));
                assertEquals("Not a Type 2 message.", thrown.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Default Flags Tests")
        class DefaultFlagsTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

    public class ProcessHelperTest extends UnitFessTestCase {
    
        public ProcessHelper processHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            processHelper = new ProcessHelper();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up any running processes
            processHelper.destroy();
            super.tearDown();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SecureCredentialStorage.java

                    // If we had a non-critical destroy failure, throw it now
                    if (failedToDestroy && destroyException != null) {
                        throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage());
                    }
    
                } catch (DestroyFailedException e) {
                    // Re-throw DestroyFailedException as-is
                    throw e;
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacSignatureTest.java

            baos.write(buffer.array(), 0, 4);
        }
    
        /**
         * Test constructor with KERB_CHECKSUM_HMAC_MD5 type.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the PAC is malformed
         */
        @Test
        void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException {
            // Prepare data
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

         */
        private SmbCopyUtil() {
        }
    
        /**
         * @param dest
         * @return
         * @throws SmbException
         * @throws SmbAuthException
         */
        static SmbFileHandleImpl openCopyTargetFile(final SmbFile dest, final int attrs, final boolean alsoRead) throws CIFSException {
            try {
                return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         *
         * @throws IOException
         *             thrown by {@code SmbFileInputStream} constructor
         */
        @Override
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream(this);
        }
    
        @Override
        public SmbFileInputStream openInputStream() throws SmbException {
            return new SmbFileInputStream(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(STRING.length(), source.copyTo(builder));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertEquals(STRING, builder.toString());
      }
    
      public void testCopyTo_charSink() throws IOException {
        TestCharSink sink = new TestCharSink();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top