- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,341 for throws (0.04 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @throws SmbException if an I/O error occurs */ public void close() throws SmbException { file.close(); } @Override public final boolean readBoolean() throws SmbException { if (read(tmp, 0, 1) < 0) { throw new SmbException("EOF"); } return tmp[0] != (byte) 0x00; } @Override public final byte readByte() throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
} @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void setUp() throws Exception { converter = new AnalyzerConverter(client, settings); } private static void createTestIndex() throws Exception { // Create index with custom analyzersCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 12.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
final int throwAfterCount; final RuntimeException thrown; int count; ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { this.throwAfterCount = throwAfterCount; this.thrown = thrown; } @Override public void run() { if (++count >= throwAfterCount) { throw thrown; } } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
void testGetTransportContext() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); assertEquals(mockContext, handle.getTransportContext()); } @Test @DisplayName("Should return correct server name") void testGetServer() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
} public void testConstructor() throws Exception { Invokable<A, A> invokable = A.constructor(); assertTrue(invokable.isPublic()); assertFalse(invokable.isPackagePrivate()); assertFalse(invokable.isAbstract()); assertFalse(invokable.isStatic()); assertTrue(invokable.isAnnotationPresent(Tested.class)); } public void testAbstractMethod() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
throw new CIFSException("Watch interrupted"); } return Collections.emptyList(); } @Override public List<FileNotifyInformation> call() throws CIFSException { return watch(); } @Override public void close() throws CIFSException { // Do nothing
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
src/main/java/jcifs/SmbResource.java
* <code>false</code> otherwise * @throws CIFSException if an error occurs accessing the resource */ boolean exists() throws CIFSException; /** * Fetch a child resource * * @param name the name of the child resource to resolve * @return the child resource * @throws CIFSException if an error occurs accessing the resource */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
class MasterBrowserEnumerationTests { @Test @DisplayName("doEnum with empty host throws SmbUnsupportedOperationException when master browser not found") void doEnum_withEmptyHost_throwsUnsupportedWithoutNetwork() throws Exception { // Arrange: mock parent + locator so no real network is used SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0)