- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 3,380 for throws (0.47 sec)
-
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
private int count; private String names = ""; /** * @throws Exception */ @Before public void setUp() throws Exception { DisposableUtil.dispose(); } /** * @throws Exception */ @Test public void test1() throws Exception { DisposableUtil.add(new TestDisposable("a"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* writer each time it is called. * * <p>The caller is responsible for ensuring that the returned writer is closed. * * @throws IOException if an I/O error occurs while opening the writer */ public abstract Writer openStream() throws IOException; /** * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
* @throws PACDecodingException if the token cannot be decoded */ public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException { this(parseSequence(token), keys); } private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException { if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ApReq");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
*/ default int getMaxReadingNum() { return 10; } /** * Initializes the converter. * * @throws IOException if an I/O error occurs during initialization. */ void init() throws IOException; /** * Converts the given text into a list of readings based on the specified field and languages. * * @param text the text to be converted.Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testToStringWithNullFileId() throws Exception { // Set oplockLevel but leave fileId as null Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel"); oplockLevelField.setAccessible(true); oplockLevelField.set(notification, (byte) 0x01); // The implementation calls Hexdump.toHexString which throws NPE on null
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
try { rateLimiter.checkAttempt(username, ip); fail("Should throw SmbException for locked account"); } catch (SmbException e) { assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout"); } } @Test public void testIpRateLimit() throws Exception { String ip = "192.168.1.3";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Close and verify subsequent calls throw handle.close(); CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw"); assertTrue(ex1.getMessage().contains("Already closed")); CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw"); assertTrue(ex2.getMessage().contains("Already closed"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs * @see Field#getInt(Object) */ public static int getInt(final Field field, final Object target) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); try { return field.getInt(target); } catch (final IllegalAccessException ex) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
assertEquals('C', stream.read()); assertEquals('D', stream.read()); // Reset will throw IOException because mark is not supported try { stream.reset(); fail("reset() should throw IOException when mark is not supported"); } catch (IOException e) { // Expected - FileInputStream does not support mark/resetRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
/** * @param transport * @param sess * @param response * @throws IOException */ private void treeConnected(final SmbTransportImpl transport, final SmbSessionImpl sess, final TreeConnectResponse response) throws CIFSException { if (!response.isValidTid()) { throw new SmbException("TreeID is invalid"); } this.tid = response.getTid();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0)