Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 3,282 for throwIt (0.05 seconds)

  1. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Functions.java

    public final class Functions {
      private Functions() {}
    
      /**
       * A function equivalent to the method reference {@code Object::toString}. The function simply
       * invokes {@code toString} on its argument and returns the result. It throws a {@link
       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

        /**
         * @throws Exception
         */
        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testSetValue_notWritable() throws Exception {
            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("aaa");
            propDesc.setValue(myBean, null);
        }
    
        /**
         * @throws Exception
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SidResolverTest.java

        @Test
        void testResolveSids_WithNullContext() throws CIFSException {
            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * @param dataStore the data store instance to register, must not be null
         * @throws IllegalArgumentException if either name or dataStore is null
         */
        public void add(final String name, final DataStore dataStore) {
            if (name == null || dataStore == null) {
                throw new IllegalArgumentException(
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        call1.enqueue(
          object : Callback {
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                // Wait until request2 acquires the connection before we destroy it violently.
                latch3.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      private NavigableSet<E> navigableSet;
      private List<E> values;
      private E a;
      private E b;
      private E c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableSet = (NavigableSet<E>) getSet();
        values =
            copyToList(
                getSubjectGenerator()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param bufferIndex the starting offset in the buffer
         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if the data cannot be decoded
         */
        protected abstract int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        @Override
        public int hashCode() {
            return this.mid;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(elementSet().comparator());
        Serialization.writeMultiset(this, stream);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *
         * It is an error to call this multiple times on the same instance.
         *
         * @throws IllegalStateException if this request doesn't have a request body, or if it already
         *     has a 'Content-Encoding' header.
         */
        fun gzip() =
          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
Back to Top