- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 2,367 for Exceptions (0.06 seconds)
-
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
* @throws Exception */ public void testGetActualKeyClassOfMap() throws Exception { final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class); final Method method = Hoge.class.getMethod("map"); assertThat(GenericsUtil.getActualKeyClassOfMap(method.getGenericReturnType(), map), is(sameClass(String.class))); } /** * @throws Exception */Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// When & Then - InvocationTargetException wraps the actual exception when using reflection Exception exception = assertThrows(Exception.class, () -> invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0), "Should throw exception for invalid structure size"); // Verify the actual cause is SMBProtocolDecodingExceptionCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
@Test void testResolveVersionRange() throws Exception { // VersionRangeResult resolveVersionRange( RepositorySystemSession session, VersionRangeRequest request ) // throws VersionRangeResolutionException; } @Test void testResolveVersion() throws Exception { // VersionResult resolveVersion( RepositorySystemSession session, VersionRequest request )Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
} // --- Tests for copyFile exception handling branch --- @Nested class CopyFileExceptions { private SmbTreeHandleImpl newTreeHandle(boolean isSmb2) throws Exception { SmbTreeHandleImpl th = mock(SmbTreeHandleImpl.class); lenient().when(th.isSMB2()).thenReturn(isSmb2);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/GsaConfigException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown when GSA (Google Search Appliance) configuration errors occur. * This exception extends FessSystemException and is used to handle specific * configuration-related issues when working with GSA integration. * */
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (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() {} }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
Exception exception = new RuntimeException("test"); UncheckedExecutionException e = assertThrows( UncheckedExecutionException.class, () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS)); assertThat(e).hasCauseThat().isEqualTo(exception); } public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception { String result =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.8K bytes - Click Count (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());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
return buf; } /** * Appends exception information to the buffer. * * @param buf the string buffer to append to * @param exception the exception to append * @return the updated buffer */ protected StringBuilder appendException(final StringBuilder buf, final Exception exception) { try (ByteArrayOutputStream baos = new ByteArrayOutputStream();Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.8K bytes - Click Count (0)