- Sort Score
- Num 10 results
- Language All
Results 2171 - 2180 of 3,282 for throwIt (0.05 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java
String resource = "/org/apache/maven/model/pom-" + version + ".xml"; InputStream is = getClass().getResourceAsStream(resource); if (is == null) { throw new IllegalStateException("The super POM " + resource + " was not found" + ", please verify the integrity of your Maven installation"); } try {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java
job.launchNow(); }).orElse(() -> { throw new JobNotFoundException(this); }); } public void stop() { ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> { job.stopNow(); }).orElse(() -> { throw new JobNotFoundException(this); }); } public String getId() {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
@Override public boolean isEmpty() { return asRanges().isEmpty(); } @Override public void add(Range<C> range) { throw new UnsupportedOperationException(); } @Override public void remove(Range<C> range) { throw new UnsupportedOperationException(); } @Override public void clear() { remove(Range.all()); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
} @Test public void edgeValueOrDefault_undirected_mismatch() { graph = ValueGraphBuilder.undirected().build(); graph.putEdgeValue(1, 2, "A"); // Check that edgeValueOrDefault() throws on each possible ordering of an ordered EndpointPair IllegalArgumentException e = assertThrows( IllegalArgumentException.class,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 18.1K bytes - Click Count (0) -
mockwebserver/README.md
[Mockito](https://github.com/mockito/mockito): 1. Script the mocks. 2. Run application code. 3. Verify that the expected requests were made. Here's a complete example: ### Java ```java public void test() throws Exception { // Create a MockWebServer. These are lean enough that you can create a new // instance for every unit test. MockWebServer server = new MockWebServer(); // Schedule some responses.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/KatakanaConverterTest.java
*/ package org.codelibs.fess.suggest.converter; import junit.framework.TestCase; public class KatakanaConverterTest extends TestCase { public void test_convert() throws Exception { /* * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク", * converter.convert("検索").get(0)); */ }Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 1001 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/StreamResetException.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */ class StreamResetException( @JvmField val errorCode: ErrorCode,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 869 bytes - Click Count (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt
class IanaSuites( val name: String, val suites: List<SuiteId>, ) { fun fromJavaName(javaName: String): SuiteId = suites.firstOrNull { it.name == javaName || it.name == "TLS_${javaName.drop(4)}" } ?: throw IllegalArgumentException("No such suite: $javaName") } suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites { val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt
override fun getName(): String = "IntegrationTestFixtures" override fun getPriority(): Int = 1 override fun setPriority(priority: Int) { throw UnsupportedOperationException() } override fun setName(name: String?) { throw UnsupportedOperationException() } override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
* * @author Alex Matevossian * @author David Beaumont */ @GwtCompatible @NullUnmarked public class XmlEscapersTest extends TestCase { public void testXmlContentEscaper() throws Exception { CharEscaper xmlContentEscaper = (CharEscaper) XmlEscapers.xmlContentEscaper(); assertBasicXmlEscaper(xmlContentEscaper, false, false); // Test quotes are not escaped.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 22:03:28 GMT 2025 - 4.8K bytes - Click Count (0)