Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 2,541 for throwIt (0.09 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
            this.handle = handle;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertEquals(expected, result);
            verify(transport, times(1)).disconnect(hard, inuse);
        }
    
        // Error case: disconnect throws IOException
        @Test
        @DisplayName("disconnect throws IOException when underlying close fails")
        void disconnect_throwsIOException() throws Exception {
            doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

    /**
     * @author shinsuke
     *
     */
    public class FileSystemClientTest extends PlainTestCase {
        public FileSystemClient fsClient;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("fsClient", FileSystemClient.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        }
                        break;
                    }
                } catch (final IOException ioe) {}
            }
            throw new UnknownHostException(name.name);
        }
    
        NbtAddress[] getNodeStatus(final NbtAddress addr) throws UnknownHostException {
            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response = new NodeStatusResponse(addr);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

    /**
     * Exception thrown when there is an issue with the suggestion index.
     * This exception extends {@link SuggesterException}.
     *
     * <p>This exception can be thrown with a message, a cause, or both.</p>
     *
     * <pre>
     * Example usage:
     * throw new SuggestIndexException("Indexing error occurred");
     * throw new SuggestIndexException(new IOException("IO error"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/io/ContentCache.java

         * @param file the file containing the content
         * @throws IllegalArgumentException if file is null
         */
        public ContentCache(final File file) {
            if (file == null) {
                throw new IllegalArgumentException("file must not be null");
            }
            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
        private static void setPrivateField(Object target, String fieldName, Object value) throws Exception {
            Class<?> clazz = target.getClass();
            while (clazz != null) {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        void testConstructorWithInvalidInformationLevel() {
            // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called
            Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99);
            assertNotNull(trans2);
    
            // Exception should be thrown when trying to write parameters
            byte[] buffer = new byte[256];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @throws IllegalAccessRuntimeException
         *             If this {@link Method} object enforces Java language access control and the underlying method is not accessible
         * @throws InvocationTargetRuntimeException
         *             If the underlying method throws an exception
         * @see Method#invoke(Object, Object[])
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top