- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 2,692 for Exception (0.05 seconds)
-
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); assertThat(ex.getMessageCode(), is("ECL0001")); assertThat(ex.getArgs().length, is(1)); assertThat(ex.getArgs()[0], is((Object) "hoge")); System.out.println(ex.getMessage()); } /** * @throws Exception */ @Test public void testGetCause() throws Exception {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
* @param columnNumber The one-based index of the column containing the problem or {@code -1} if unknown. * @param exception The exception that caused this problem, may be {@code null}. */ public DefaultSettingsProblem( String message, Severity severity, String source, int lineNumber, int columnNumber, Exception exception) { this.message = message; this.severity = (severity != null) ? severity : Severity.ERROR;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
try { validator.initialize(annotation); assertTrue("Initialize should complete without exception", true); } catch (final Exception e) { fail("Initialize should not throw exception with valid annotation: " + e.getMessage()); } } // Test parameter validation without relying on complex configuration @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
NbtException exception = new NbtException(errorClass, errorCode); assertEquals(errorClass, exception.errorClass, "Error class should match the constructor argument"); assertEquals(errorCode, exception.errorCode, "Error code should match the constructor argument"); assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
int expectedLength = (Math.min(65536, 65536) - Smb2QueryInfoResponse.OVERHEAD) & ~0x7; assertEquals(expectedLength, actualOutputBufferLength); } catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test constructor with Configuration and FileId") void testConstructorWithConfigAndFileId() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
when(e.getType()).thenReturn(type); return e; } @Test @DisplayName("Happy path without filter: iterates all entries in order") void happyPath_noFilter_returnsAll() throws Exception { SmbFile parent = newParent(); List<FileEntry> entries = Arrays.asList(entry("foo", SmbConstants.TYPE_SHARE), entry("bar", SmbConstants.TYPE_SHARE));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
import org.junit.Test; public class NormalizerChainTest { @Test public void test_constructor() throws Exception { NormalizerChain chain = new NormalizerChain(); assertNotNull(chain); } @Test public void test_singleNormalizer() throws Exception { NormalizerChain chain = new NormalizerChain(); chain.add(new FullWidthToHalfWidthAlphabetNormalizer());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
*/ @GwtCompatible @NullUnmarked public class TearDownStackTest extends TestCase { private final TearDownStack tearDownStack = new TearDownStack(); public void testSingleTearDown() throws Exception { TearDownStack stack = buildTearDownStack(); SimpleTearDown tearDown = new SimpleTearDown(); stack.addTearDown(tearDown); assertEquals(false, tearDown.ran); stack.runTearDown();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
* */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8")); } /** * @throws Exception */ public void testDecode() throws Exception { assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8")); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizerTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 4K bytes - Click Count (0)