Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 3,187 for throwIt (0.04 sec)

  1. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
       * @return the minimum value of type {@code C}; never null
       * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
       *     {@link java.math.BigInteger}
       */
      @CanIgnoreReturnValue
      public C minValue() {
        throw new NoSuchElementException();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

            } catch (GSSException e) {
                throw new SmbException("Context setup failed", e);
            }
        }
    
        /**
         * Set the Kerberos subject
         *
         * @param subject
         *            the subject to set
         */
        protected void setSubject(Subject subject) {
            this.subject = subject;
        }
    
        @Override
        public void refresh() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

         * errors by throwing an {@link Exception}. Error conditions should provide
         * sufficient detail to aid troubleshooting.</p>
         *
         * @throws Exception if any issue occurs that prevents the successful execution
         *                   of the Mojo
         */
        void execute() throws Exception;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

    class Smb2TreeDisconnectRequestTest {
    
        private static final short SMB2_TREE_DISCONNECT = 0x0004;
    
        @Test
        @DisplayName("Should create request with correct command type")
        void testConstructorSetsCorrectCommand() throws Exception {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    
            // When
            Smb2TreeDisconnectRequest req = new Smb2TreeDisconnectRequest(mockConfig);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

        }
    
        @Override
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection());
        }
    
        private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException {
            synchronized (PROTOCOL_HANDLERS) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertThrows(IllegalArgumentException.class, () -> context.encryptMessage(null, 123456L),
                    "Should throw IllegalArgumentException for null message");
        }
    
        @Test
        @DisplayName("Should successfully encrypt and decrypt with refactored methods")
        void testRefactoredEncryptionDecryption() throws Exception {
            // Given - Use same key for both encryption and decryption in test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            }
        }
    
        @Test
        void testReadDataWireFormatWithEmptyData() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[100];
            int result = response.readDataWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {
            // Test with data exactly matching output buffer size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

        @Deprecated
        @Override
        public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
            String extension = artifact.getArtifactHandler().getExtension();
            File source = new File(basedir, finalName + "." + extension);
    
            install(source, artifact, localRepository);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java

            dumpResponse(context, "", secDispatcher.validateConfiguration());
            return OK;
        }
    
        @Override
        protected int doExecute(EncryptContext context) throws Exception {
            throw new IllegalStateException("Cannot reach here");
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

            Y.setArtifactId("Y");
            Z.setArtifactId("Z");
        }
    
        // This should probably be moved to a separate stub
    
        public static ProjectBuildList getProjectBuildList(MavenSession session)
                throws InvalidPluginDescriptorException, PluginVersionResolutionException, PluginDescriptorParsingException,
                        NoPluginFoundForPrefixException, MojoNotFoundException, PluginNotFoundException,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top