- Sort Score
- Result 10 results
- Languages All
Results 2161 - 2170 of 3,202 for throwIt (0.05 sec)
-
impl/maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java
public RequestPomCollectionStrategy(ProjectsSelector projectsSelector) { this.projectsSelector = projectsSelector; } @Override public List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException { List<File> files = Collections.singletonList(request.getPom().getAbsoluteFile()); return projectsSelector.selectProjects(files, request); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java
if (dup.add(values[0]) == false) { throw new IllegalArgumentException("Found duplicate term [" + values[0] + "] in user dictionary."); } return rule; } public static UserDictionary getUserDictionary(Environment env, Settings settings) { if (settings.get(USER_DICT_PATH_OPTION) != null && settings.get(USER_DICT_RULES_OPTION) != null) { throw new IllegalArgumentException(
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.7K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
// 404 throw responseManager.new404("Thumbnail for " + form.docId + " is not found."); } final File thumbnailFile = thumbnailManager.getThumbnailFile(doc); if (thumbnailFile == null) { if (fessConfig.isThumbnailEnabled()) { thumbnailManager.offer(doc); } // 404Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
import jcifs.internal.smb1.trans.SmbComTransaction; class Trans2FindFirst2ResponseTest { private Trans2FindFirst2Response response; private Configuration config; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); Properties props = new Properties(); config = new PropertyConfiguration(props); response = new Trans2FindFirst2Response(config); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
*/ public final class PrintEventsNonConcurrent { private final OkHttpClient client = new OkHttpClient.Builder() .eventListener(new PrintingEventListener()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)");Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java
class CoreUtils { public static <T> T cast(Class<T> clazz, Object o, String name) { if (!clazz.isInstance(o)) { if (o == null) { throw new IllegalArgumentException(name + " is null"); } throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName()); } return clazz.cast(o); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 22:23:23 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
} @Override public Class<?> next() { if (!hasNext()) { throw new NoSuchElementException(); } final Class<?> result = clazz; clazz = clazz.getSuperclass(); return result; } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
module-tests/src/main/java/okhttp3/modules/Main.java
* limitations under the License. */ package okhttp3.modules; import okhttp3.Call; import okhttp3.HttpUrl; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { Call call = OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt")); System.out.println(call.execute().body().string()); }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 934 bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
package jcifs.smb1.util.transport; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; /** * Exception thrown when transport-level errors occur in JCIFS SMB communication. */ public class TransportException extends IOException { /** The root cause exception */ private Throwable rootCause; /** * Constructs a new TransportException with no detail message. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0)