- Sort Score
- Num 10 results
- Language All
Results 3171 - 3180 of 3,670 for throwIf (0.08 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java
String html = renderer.render(parser.parseReader(inputStream)); outputStream.write(html); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3.3K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
import org.robolectric.shadows.ShadowLog @RunWith(RobolectricTestRunner::class) class AndroidLoggingTest { val clientBuilder = OkHttpClient.Builder().connectionSpecs(listOf(ConnectionSpec.CLEARTEXT)).dns { throw UnknownHostException("shortcircuit") } val request = Request("http://google.com/robots.txt".toHttpUrl()) @Test fun testHttpLoggingInterceptor() { val interceptor =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 21 14:27:04 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
* Create a new durable handle reconnect context * @param fileId the 16-byte file ID from the previous open */ public DurableHandleReconnect(byte[] fileId) { if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); } this.fileId = Arrays.copyOf(fileId, 16); } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java
try { this.securityDescriptor = new SecurityDescriptor(); bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len); } catch (final IOException ioe) { throw new RuntimeCIFSException(ioe.getMessage()); } return bufferIndex - start; } @Override public String toString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
jcifs.SID[] sids = null; // Expect NullPointerException when passing a null array to the constructor assertThrows(NullPointerException.class, () -> new LsarSidArrayX(sids), "Should throw NullPointerException when sids array is null"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
if ("toString".equals(method.getName())) { return value; } throw new UnsupportedOperationException(); }); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
Document doc; try { doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); } catch (ParserConfigurationException e) { throw UncheckedException.throwAsUncheckedException(e); } LinkRenderer linkRenderer = new LinkRenderer(doc, model); for (Map.Entry<String, ClassDoc> entry : extensionDoc.getExtensionClasses().entrySet()) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
@Override public <T> T lookup(Class<T> type) { throw new LookupException("empty lookup"); } @Override public <T> T lookup(Class<T> type, String name) { throw new LookupException("empty lookup"); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 15.9K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
* * @param <T> the type of the model object * @param object the model object to process * @return the processed object (may be the same instance, a pooled instance, or a modified instance) * @throws IllegalArgumentException if the object cannot be processed */ <T> T process(T object); /** * Process a model object using the first available processor implementation. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java
public int numTags = 2; private AllocationService strategy; private ClusterState initialClusterState; @Setup public void setUp() throws Exception { final String[] params = indicesShardsReplicasNodes.split("\\|"); int numIndices = toInt(params[0]); int numShards = toInt(params[1]); int numReplicas = toInt(params[2]);Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 13 08:33:41 GMT 2021 - 6.7K bytes - Click Count (0)