- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 3,282 for throw (0.62 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
for (Entry<Object, Object> provide : provides.entrySet()) { String key = (String) provide.getKey(); String value = (String) provide.getValue(); if (value == null) { throw new MisconfiguredToolchainException( "Provides token '" + key + "' doesn't have any value configured."); } RequirementMatcher matcher; if ("version".equals(key)) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
* @throws DictionaryException if the dictionary file cannot be read. */ protected void reload(final StopwordsUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex); } } throw new SmbException("ExtendedGSSContext is not implemented by GSSContext"); } @Override public byte[] initSecContext(byte[] token, int off, int len) throws SmbException { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should throw UnknownHostException for empty address list") void testUnknownHostException() throws Exception { // Given: No addresses returned when(nameSvc.getAllByName(eq("unknown.host"), eq(true))).thenReturn(new Address[0]); // When/Then: Should throw UnknownHostExceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* @throws CIFSException */ @Test void testGetServerTimeZoneOffset_throwsCIFSException() throws CIFSException { when(smbTreeHandle.getServerTimeZoneOffset()).thenThrow(new CIFSException("Test Exception")); assertThrows(CIFSException.class, () -> smbTreeHandle.getServerTimeZoneOffset(), "getServerTimeZoneOffset() should throw CIFSException"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
return FileUtil.getCanonicalPath(jarFile); } /** * Closes the JAR file. * <p> * If {@link JarFile#close()} throws an exception, an error message is logged. The exception is not re-thrown. * </p> * * @param jarFile the JAR file (must not be {@literal null}) */ public static void close(final JarFile jarFile) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// another packet header, but since there's no more data, it will throw IOException assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("Reading with zero-length array returns 0") void readZeroLengthArrayReturnsZero() throws IOException { // Create stream with a message containing data byte[] data = new byte[] { 1, 2 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
if (cells.size() != 1) { throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr)); } String methodName = cells.get(0).getTextContent().trim(); Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public void encode(final NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.length); _dst.enc_ndr_short(this.impersonation_level); _dst.enc_ndr_small(this.context_mode); _dst.enc_ndr_small(this.effective_only); } @Override public void decode(final NdrBuffer _src) throws NdrException { _src.align(4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0)