Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,947 for threw (0.03 sec)

  1. android/guava/src/com/google/common/base/Joiner.java

       * Iterable)}, except that it does not throw {@link IOException}.
       *
       * @since 11.0
       */
      @CanIgnoreReturnValue
      public final StringBuilder appendTo(StringBuilder builder, Iterator<?> parts) {
        try {
          appendTo((Appendable) builder, parts);
        } catch (IOException impossible) {
          throw new AssertionError(impossible);
        }
        return builder;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

                    mockResource.renameTo(destination, true);
                }, "Rename operations should not throw exception");
    
                verify(mockResource).renameTo(destination);
                verify(mockResource).renameTo(destination, true);
            }
    
            @Test
            @DisplayName("renameTo should throw NullPointerException for null destination")
            void testRenameTo_NullDestination() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            if (this.handle.isStale()) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            final int fraglen = Encdec.dec_uint16le(inB, 8);
            if (fraglen > getMaxRecv()) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CredentialsInternalTest.java

                // Validate required argument and interact with the provided CIFSContext
                if (tc == null) {
                    throw new NullPointerException("tc");
                }
                // Exercise interaction with dependency for verification purposes
                // These methods do not throw and allow interaction checks.
                tc.getConfig();
                tc.getCredentials();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

                    throw new IOException("Malformed SPNEGO token " + constructed);
                }
    
                final ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
    
                final ASN1ObjectIdentifier spnego = (ASN1ObjectIdentifier) vec.getObjectAt(0);
                if (!SPNEGO_OID.equals(spnego)) {
                    throw new IOException("Malformed SPNEGO token, OID " + spnego);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/Tuple3.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.misc;
    
    /**
     * A tuple of three values.
     *
     * @author koichik
     * @param <T1>
     *            The type of the first value
     * @param <T2>
     *            The type of the second value
     * @param <T3>
     *            The type of the third value
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    enterLatch.countDown();
                    try {
                      new CountDownLatch(1).await(); // wait forever
                      throw new AssertionError();
                    } catch (InterruptedException e) {
                      interruptedExceptionThrown.set(true);
                      throw e;
                    } finally {
                    }
                  }
                });
        assertFalse(task.isDone());
        Thread thread =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/UniAddress.java

                    }
                }
            } catch (final InterruptedException ie) {
                throw new UnknownHostException(name);
            }
            if (q1x.ans != null) {
                return q1x.ans;
            }
            if (q20.ans != null) {
                return q20.ans;
            }
            throw q1x.uhe;
        }
    
        /**
         * Determines the address of a host given it's host name. The name can be a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                // original recommended version
                version = restriction.recommendedVersion;
            }
            /* TODO should throw this immediately, but need artifact
                    else
                    {
                        throw new OverConstrainedVersionException( "Restricting incompatible version ranges" );
                    }
            */
    
            return new VersionRange(version, restrictions);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ApReq");
            }
    
            ASN1Sequence sequence;
            try {
                try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed Kerberos Ticket", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top