Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,773 for throwIt (0.04 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    
        /**
         * Closes this SAM alias handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
                throws ProjectBuildingException {
            return buildStandaloneSuperProject(localRepository, null);
        }
    
        @Override
        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.set(msrpcShareGetInfo, info502);
    
            // Test getSecurity with empty descriptor - should throw exception
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                msrpcShareGetInfo.getSecurity();
            });
        }
    
        @Test
        void testGetSecurityWithLargeSecurityDescriptor() throws Exception {
            // Test with large valid security descriptor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        void connectWrapException_wraps_io_and_unkhost() throws Exception {
            // Subclass to control connect() behavior
            SmbTreeConnection c = new SmbTreeConnection(ctx) {
                @Override
                public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException {
                    throw new java.net.UnknownHostException("nohost");
                }
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Joiner.java

          throws IOException {
        return appendTo(appendable, iterable(first, second, rest));
      }
    
      /**
       * Appends the string representation of each of {@code parts}, using the previously configured
       * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable,
       * Iterable)}, except that it does not throw {@link IOException}.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

            override fun contentLength(): Long = 5
    
            override fun source(): BufferedSource {
              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                @Throws(IOException::class)
                override fun close() {
                  closed.set(true)
                  super.close()
                }
              }.buffer()
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        @BeforeEach
        public void setUp() throws CIFSException {
            MockitoAnnotations.openMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid parameters
         */
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(netname, 1);
    
                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
    
            @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
    - 26.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top