Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 3,054 for throws (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

         * @throws CrawlingAccessException if an error occurs while checking bucket existence
         */
        protected boolean bucketExists(final String name) {
            try {
                final BucketExistsArgs args = BucketExistsArgs.builder().bucket(name).build();
                return minioClient.bucketExists(args);
            } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * @param artifactCoordinates t
         * @return the version range resolution result
         * @throws VersionResolverException if an errors occurs
         */
        @Nonnull
        default VersionRangeResolverResult resolve(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
            return resolve(VersionRangeResolverRequest.build(session, artifactCoordinates));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        @BeforeEach
        void setUp() {
            response = new SrvPipePeekResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with data")
        void testDecodeWithData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data
            int bufferIndex = 0;
    
            // Set up test values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        @BeforeEach
        void setUp() {
            response = new ValidateNegotiateInfoResponse();
        }
    
        @Test
        @DisplayName("Test decode with valid buffer")
        void testDecodeValidBuffer() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[64];
            int bufferIndex = 10;
    
            // Set capabilities (4 bytes)
            int testCapabilities = 0x12345678;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    
        /**
         * Gets the type flags of this security descriptor.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            byte[] buffer = new byte[6];
    
            // Assert that an IOException is thrown with the expected message.
            IOException thrown = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(mockInputStream, buffer, 0);
            });
            assertTrue(thrown.getMessage().contains("unexpected EOF reading netbios retarget session response"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                         */
                        treeDisconnect(true);
                    }
                    throw se;
                }
            }
        }
    
        void treeConnect(final ServerMessageBlock andx, final ServerMessageBlock andxResponse) throws SmbException {
    
            synchronized (session.transport()) {
                String unc;
    
                while (connectionState != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      /** Guarded by this. */
      private WebSocket webSocket;
    
      public RtmSession(SlackApi slackApi) {
        this.slackApi = slackApi;
      }
    
      public void open(String accessToken) throws IOException {
        if (webSocket != null) throw new IllegalStateException();
    
        RtmStartResponse rtmStartResponse = slackApi.rtmStart(accessToken);
        webSocket = slackApi.rtm(rtmStartResponse.url, this);
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertNotNull(dfsRootEnum.totalentries);
        }
    
        @Test
        @DisplayName("getEntries should return empty array when no DFS roots exist")
        void testGetEntries_emptyArray() throws Exception {
            // Create empty DfsEnumArray200
            netdfs.DfsEnumArray200 emptyArray = new netdfs.DfsEnumArray200();
            emptyArray.count = 0;
            emptyArray.s = new netdfs.DfsInfo200[0];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    @Throws(IOException::class)
    internal fun BufferedSink.writeMedium(medium: Int) {
      writeByte(medium.ushr(16) and 0xff)
      writeByte(medium.ushr(8) and 0xff)
      writeByte(medium and 0xff)
    }
    
    @Throws(IOException::class)
    internal fun BufferedSource.readMedium(): Int =
      (
        readByte() and 0xff shl 16
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top