Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 3,054 for throws (0.04 sec)

  1. src/main/java/jcifs/smb1/dcerpc/rpc.java

            public byte clock_seq_low;
            /**
             * The spatially unique node identifier (6 bytes).
             */
            public byte[] node;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(time_low);
                _dst.enc_ndr_short(time_mid);
                _dst.enc_ndr_short(time_hi_and_version);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * One is for releases, the other for snapshots.
         * ]]></usage>
         * </expression>
         * <expressions>
         *
         * @throws IOException
         * @throws XmlPullParserException
         */
        private static Map<String, Expression> parseExpressionDocumentation(InputStream docStream)
                throws IOException, XmlPullParserException {
            ParamdocXpp3Reader paramdocReader = new ParamdocXpp3Reader();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("Filter throws CIFSException: entry is skipped and iteration continues")
        void filterThrows_skipsAndContinues() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("bad", SmbConstants.TYPE_SHARE), entry("good", SmbConstants.TYPE_SHARE));
    
            // First call throws, second accepts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isInConflict(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address is active.
         *
         * @param tc
         *            context to use
         * @return whether this address is active
         *
         * @throws UnknownHostException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

                this.shouldSucceed = shouldSucceed;
            }
    
            @Override
            protected boolean performReconnection(HandleInfo info) throws Exception {
                if (shouldSucceed) {
                    return true;
                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
            public void testCreateReconnectionRequest(HandleInfo handle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

    public class FessPropTest extends UnitFessTestCase {
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_maxUsernameLength() throws IOException {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public Integer getLdapMaxUsernameLengthAsInteger() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        public void testClosedAuthenticatorBlocking() throws Exception {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "BlockedPass123!");
    
            // Close the authenticator
            auth.close();
    
            // All these operations should throw IllegalStateException
            assertThrows(IllegalStateException.class, () -> auth.getPassword());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

        void setup() {
            // Use a real CIFS context to provide a working URLStreamHandler for smb:// URLs
            this.ctx = SingletonContext.getInstance();
        }
    
        private void setupParentForUrlCreation() throws CIFSException {
            // Only set up parent mocks when they're actually needed for URL creation
            when(parent.getContext()).thenReturn(this.ctx);
            when(parent.getLocator()).thenReturn(parentLocator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws CIFSException if a CIFS protocol error occurs
         */
        public Type3Message(final CIFSContext tc, final Type2Message type2, final String targetName, final String password, final String domain,
                final String user, final String workstation, final int flags) throws GeneralSecurityException, CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

    import java.util.List;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class MethodUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top