- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,616 for threw (0.12 sec)
-
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
if ( key == null ) { throw new PACDecodingException("Missing key"); } return calculateMacHMACAES(usage, key, data); } else { throw new PACDecodingException("Invalid MAC algorithm"); } } catch ( GeneralSecurityException e ) { throw new PACDecodingException("Failed to calculate MAC", e);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
rr.getPolicy(false).getChecksumPolicy()); } catch (Exception e) { throw new RuntimeException("Unable to create repository", e); } } else { // TODO throw new UnsupportedOperationException("Not yet implemented"); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean remove(@CheckForNull Object object) { throw new UnsupportedOperationException(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
throw new ArtifactDescriptorException(result); } } invalidDescriptor(session, trace, a, e); if ((getPolicy(session, a, request) & ArtifactDescriptorPolicy.IGNORE_INVALID) != 0) { return null; } result.addException(e); throw new ArtifactDescriptorException(result);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
.getResource("/poms/depmgmt/import.xml") .getFile())); default: throw new UnresolvableModelException( "Cannot resolve", dependency.getGroupId(), dependency.getArtifactId(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throw * UnsupportedOperationException." */ abstract void setCountNoCheckReturnValue(E element, int count);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 13K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
private static void checkVertex(MetadataGraphVertex v) throws MetadataResolutionException { if (v == null) { throw new MetadataResolutionException("null vertex"); } if (v.getMd() == null) { throw new MetadataResolutionException("vertex without metadata"); } } // ------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt
): T { val contentLength = contentLength() if (contentLength > Int.MAX_VALUE) { throw IOException("Cannot buffer entire body for content length: $contentLength") } val bytes = source().use(consumer) val size = sizeMapper(bytes) if (contentLength != -1L && contentLength != size.toLong()) { throw IOException("Content-Length ($contentLength) and stream length ($size) disagree") } return bytes }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
} } } catch( InterruptedException ie ) { throw new UnknownHostException( name ); } if( q1x.ans != null ) { return q1x.ans; } else if( q20.ans != null ) { return q20.ans; } else { throw q1x.uhe; } } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0)