- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 3,747 for throwIt (0.1 seconds)
-
src/main/java/jcifs/smb/Kerb5Context.java
/** * {@inheritDoc} * * @throws CIFSException * * @see jcifs.smb.SSPContext#calculateMIC(byte[]) */ @Override public byte[] calculateMIC(byte[] data) throws CIFSException { try { return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false)); } catch (GSSException e) { throw new CIFSException("Failed to calculate MIC", e); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
* @param artifact the theme artifact * @return the theme name * @throws ThemeException if theme name cannot be determined */ protected String getThemeName(final Artifact artifact) { final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1); if (StringUtil.isBlank(themeName)) { throw new ThemeException("Theme name is empty: " + artifact); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
public InputStream getContentAsStream() throws IOException { // Use the actual file path from the DictionaryFile return new FileInputStream(new File(file.getPath())); } @Override public void close() throws IOException { // Nothing to close
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
private static final String RETURN_VALUE = "abc"; private TimeLimiter timeLimiter; @Override protected void setUp() throws Exception { super.setUp(); timeLimiter = new FakeTimeLimiter(); } public void testCallWithTimeout_propagatesReturnValue() throws Exception { String result = timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
assertEquals(expected, result); verify(transport, times(1)).disconnect(hard, inuse); } // Error case: disconnect throws IOException @Test @DisplayName("disconnect throws IOException when underlying close fails") void disconnect_throwsIOException() throws Exception { doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
private DataSerializer serializer; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); serializer = new DataSerializer(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); serializer = null; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
* @param apOptions AP options flags * @param keys array of Kerberos keys for decryption * @throws PACDecodingException if ticket decoding fails */ public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException { if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ticket"); } ASN1Sequence sequence; try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0)