Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 3,054 for throws (0.07 sec)

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

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void putAll(Table<? extends R, ? extends C, ? extends V> table) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the table unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
            // Create a mock KerberosAuthData to be returned by the mocked parse method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @return {@link Class}
         * @throws EmptyArgumentException
         *             If the class name is {@literal null} or empty.
         * @throws ClassNotFoundRuntimeException
         *             If a {@link ClassNotFoundException} occurs.
         * @see #forName(String)
         */
        public static Class<?> convertClass(final String className) throws ClassNotFoundRuntimeException {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

        /**
         * Test the service method with a valid NTLM Authorization header.
         * Simulates a successful NTLM authentication.
         * @throws ServletException
         * @throws IOException
         * @throws CIFSException
         */
        @Test
        void testService_NtlmAuth_Success() throws Exception {
            ntlmServlet.init(servletConfig);
            setupMocksForAuth();
    
            byte[] challenge = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesTest.java

        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Execute and verify exception is thrown
            assertThrows(SmbException.class, () -> tree.send(request, response));
            // After network name deleted error, tree should be disconnected
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testSendInvalidOperationForNonDiskService() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "PRINT");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

         * @param key
         * @param cipher
         * @return
         * @throws GeneralSecurityException
         * @throws InvalidKeyException
         * @throws InvalidAlgorithmParameterException
         * @throws IllegalBlockSizeException
         * @throws BadPaddingException
         */
        private static byte[] decryptDES(byte[] data, Key key, Cipher cipher) throws GeneralSecurityException, InvalidKeyException,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    q.setResponse(qr);
                    // Now emulate error thrown by transport for create chain
                    throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false);
                }
                return null;
            }).when(tree).send(any(Request.class));
    
            // Act: constructing the iterator must not throw and results in empty iterator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top