- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 2,652 for throwIf (0.05 sec)
-
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
e: IOException, ) { latch.countDown() } @Throws(IOException::class) override fun onResponse( call: Call, response: Response, ) { try { Thread.sleep(500) } catch (e: InterruptedException) { throw AssertionError() } assertFailsWith<IOException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
return dstIndex - start; } @Override int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { int start = bufferIndex; if ( in.read(buffer, bufferIndex, this.length) != this.length ) { throw new IOException("invalid session request wire format"); } bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenParser.java
} @Override protected MavenOptions parseArgs(String source, List<String> args) throws ParserException { try { return CommonsCliMavenOptions.parse(source, args.toArray(new String[0])); } catch (ParseException e) { throw new ParserException("Failed to parse source " + source + ": " + e.getMessage(), e.getCause()); } } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
return 0; } /** * {@inheritDoc} * * @throws Smb2ProtocolDecodingException * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = bufferIndex;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon May 23 14:35:20 UTC 2022 - 6.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
} protected void customizeContainerConfiguration(C context, ContainerConfiguration configuration) throws Exception {} protected void customizeContainer(C context, PlexusContainer container) throws Exception {} protected List<Path> parseExtClasspath(C context) throws Exception { R invokerRequest = context.invokerRequest;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
*/ @Deprecated public class JdkPrefixProfileActivator extends DetectedProfileActivator { private static final String JDK_VERSION = System.getProperty("java.version"); public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
* libraries may customize this behavior.) * * A good way to signal a failure is with a synthetic HTTP response: * * ```kotlin * @Throws(IOException::class) * override fun intercept(chain: Interceptor.Chain): Response { * if (myConfig.isInvalid()) { * return Response.Builder() * .request(chain.request())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* @param tc * @throws MalformedURLException */ public SmbNamedPipe ( String url, int pipeType, boolean unshared, CIFSContext tc ) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if ( !getLocator().isIPC() ) { throw new MalformedURLException("Named pipes are only valid on IPC$");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
public void load(Reader reader) throws IOException { loadLayout(reader, false); } public void save() throws IOException { save(this.location); } public void save(Path location) throws IOException { try (OutputStream os = Files.newOutputStream(location)) { save(os); } } public void save(OutputStream os) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java
} printBoostAndQueryName(builder); builder.endObject(); } @Override protected Query doToQuery(final QueryShardContext context) throws IOException { throw new UnsupportedOperationException("Query processing is not supported."); } @Override protected boolean doEquals(final StoredLtrQueryBuilder other) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0)