- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 2,174 for Exception (0.04 sec)
-
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
} /** * @throws Exception */ @Test public void testGetBundle() throws Exception { final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader()); assertThat(bundle, is(notNullValue())); } /** * @throws Exception */ @Test public void testGetString() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
import org.apache.lucene.search.Query; import org.apache.lucene.search.TermQuery; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.QueryContext; import org.codelibs.fess.exception.InvalidQueryException; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.util.DfTypeUtil; import org.opensearch.index.query.MatchPhrasePrefixQueryBuilder; import org.opensearch.index.query.PrefixQueryBuilder;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
} @Test @DisplayName("Should throw exception on null buffer") void testDecodeWithNullBuffer() { assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(null, 0, 10), "Should throw exception for null buffer"); } @Test @DisplayName("Should throw exception on negative buffer index") void testDecodeWithNegativeIndex() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
assertNull(unwrapped); } } @Nested @DisplayName("Exception handling tests") class ExceptionHandlingTests { @Test @DisplayName("doEnum rethrows CIFSException when not UnknownHostException") void doEnum_rethrowsCIFSException_whenNotUnknownHost() throws Exception { // Arrange SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
} public void test_serialVersionUID() { // Test that the exception is serializable ParseException parseException = new ParseException("Serialization test"); QueryParseException queryParseException = new QueryParseException(parseException); // Verify that the exception can be created and has serialVersionUID assertNotNull(queryParseException);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @Test @DisplayName("Should handle exception") void testException() { Exception testException = new Exception("Test exception"); assertFalse(echoResponse.isError()); assertFalse(echoResponse.isReceived()); assertNull(echoResponse.getException()); echoResponse.exception(testException); assertTrue(echoResponse.isError());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
String wagon, final Exception exception, final int requestType, ArtifactTransferResource artifact) { this(wagon, TRANSFER_ERROR, requestType, artifact); this.exception = exception; } public ArtifactTransferResource getResource() { return artifact; } /** * @return Returns the exception. */ public Exception getException() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
/** * @throws Exception */ @Test public void testClose() throws Exception { final NotifyOutputStream out = new NotifyOutputStream(); CloseableUtil.close(out); assertThat(out.getNotify(), is("closed")); } /** * @throws Exception */ @Test public void testCloseNull() throws Exception { CloseableUtil.close((OutputStream) null);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
@Override protected void tearDown() { stack.runTearDown(); } static final Exception EXCEPTION = new Exception(); static final class ExampleClassUnderTest { static final Logger logger = Logger.getLogger(ExampleClassUnderTest.class.getName()); static void foo() { logger.log(Level.INFO, "message", EXCEPTION); } private ExampleClassUnderTest() {} }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw SMBProtocolDecodingException for invalid structure size"); assertEquals("Expected structureSize = 9", exception.getMessage()); } @ParameterizedTestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0)