- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,812 for rethrow (0.04 sec)
-
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception String errorMessage = "LDAP server not reachable"; try { throw new LdapConfigurationException(errorMessage); } catch (LdapConfigurationException e) { assertEquals(errorMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
*/ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public @Nullable B put(TypeToken<? extends @NonNull B> key, @ParametricNullness B value) { throw new UnsupportedOperationException("Please use putInstance() instead."); } /** * Not supported. Use {@link #putInstance} instead. * * @deprecated unsupported operationRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
private static LogStream log = LogStream.getInstance(); /** * This is really just for {@link jcifs.smb1.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
this.handle = handle; final MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) { this.opened = false;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
if (throwOnEncode) { throw new NdrException("Failed to encode"); } // Simulate some encoding activity on the buffer dst.enc_ndr_long(123); } @Override public void decode(NdrBuffer src) throws NdrException { if (throwOnDecode) { throw new NdrException("Failed to decode"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
if (key == null) { throw new PACDecodingException("Missing key"); } return calculateMacArcfourHMACMD5(usage, key, data); } else { if ((type != PacSignature.HMAC_SHA1_96_AES128) && (type != PacSignature.HMAC_SHA1_96_AES256)) { throw new PACDecodingException("Invalid MAC algorithm"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
validateIdentity(); } private void validateIdentity() { if (empty(groupId)) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The groupId cannot be empty."); } if (empty(artifactId)) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} } public void test_validate_noError() { // Test validate when no error is set // This should not throw exception try { WebApiUtil.validate(); } catch (WebApiException e) { fail("validate should not throw exception when no error is set"); } } public void test_constructor_isPrivate() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
if (buf.length < max_recv) { throw new IllegalArgumentException("buffer too small"); } if (isStart && !isDirect) { // start of new frag, do trans off = in.read(buf, 0, 1024); } else { off = in.readDirect(buf, 0, buf.length); } if (buf[0] != 5 && buf[1] != 0) { throw new IOException("Unexpected DCERPC PDU header"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
public Integer getJobMaxCrawlerProcessesAsInteger() { return 5; } }); try { crawlJob.execute(); fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertTrue(e.getMessage().contains("10 crawler processes are running")); assertTrue(e.getMessage().contains("Max processes are 5"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0)