Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,976 for throw (0.02 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
          throw new Error("Method rejected target/argument: " + event, e);
        } catch (IllegalAccessException e) {
          throw new Error("Method became inaccessible: " + event, e);
        } catch (InvocationTargetException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/SpnegoTokenTest.java

                byte[] tok = getMechanismToken();
                return tok == null ? new byte[0] : tok;
            }
    
            @Override
            protected void parse(byte[] token) throws IOException {
                if (token == null) {
                    throw new IOException("token is null");
                }
                setMechanismToken(token);
                this.parsed = true;
            }
    
            boolean isParsed() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

                            "Should throw SMBProtocolDecodingException for structure size " + invalidSize);
    
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with FILE info type")
        void testReadBytesWireFormatFileInfoType() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayTable.java

          if (index == null) {
            throw new IllegalArgumentException(
                getKeyRole() + " " + key + " not in " + keyIndex.keySet());
          }
          return setValue(index, value);
        }
    
        @Override
        public @Nullable V remove(@Nullable Object key) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/JoinerTest.java

              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(char c) throws IOException {
              throw new IOException();
            }
          };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

          notifyAll()
        }
      }
    
      @Throws(IOException::class)
      internal fun checkOutNotClosed() {
        when {
          sink.closed -> throw IOException("stream closed")
          sink.finished -> throw IOException("stream finished")
          errorCode != null -> throw errorException ?: StreamResetException(errorCode!!)
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            RepositoryMetadata metadata = new ArtifactRepositoryMetadata(request.getArtifact());
    
            try {
                repositoryMetadataManager.resolve(metadata, request);
            } catch (RepositoryMetadataResolutionException e) {
                throw new ArtifactMetadataRetrievalException(e.getMessage(), e, request.getArtifact());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportExceptionTest.java

                throw new TransportException(expectedMessage);
            });
    
            // Test throwing and catching with cause
            RuntimeException cause = new RuntimeException("Cause");
            TransportException thrown = assertThrows(TransportException.class, () -> {
                throw new TransportException(cause);
            });
            assertEquals(cause, thrown.getCause());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.java

                final int _nodes = 6;
                final int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if (node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top