- Sort Score
- Result 10 results
- Languages All
Results 1331 - 1340 of 1,812 for rethrow (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertNull(exception.getCause()); } public void test_throwAndCatch() { // Test throwing and catching the exception try { throw new UserRoleLoginException(RootAction.class); } catch (UserRoleLoginException e) { assertEquals(RootAction.class, e.getActionClass()); assertNull(e.fillInStackTrace());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
this.numElements = null; } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } public int getNumElements() { if (numElements == null) { throw new IllegalStateException( "A compound CollectionSize doesn't specify a number of elements."); } return numElements; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
this.numElements = null; } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } public int getNumElements() { if (numElements == null) { throw new IllegalStateException( "A compound CollectionSize doesn't specify a number of elements."); } return numElements; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; } throw new IllegalArgumentException("Unsupported information level " + il); } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
int start = bufferIndex; // StructureSize (2 bytes) - must be 36 this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 36) { throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize); } bufferIndex += 2; // Reserved (2 bytes) bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
RepositorySystem repositorySystem; try { repositorySystem = container.lookup(RepositorySystem.class); } catch (ComponentLookupException e) { throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName()); } if (mirrors) { repositorySystem.injectMirror(session, repositories); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
} }, ) check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." } val failure = failureRef.get() if (failure != null) { throw RuntimeException(failure) } return countRef.get() } private fun updateReports() { val latch = CountDownLatch(1) newWebSocket( "/updateReports?agent=$USER_AGENT",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterInputStream(source.openStream()) { @Override public void close() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
new Runnable() { @Override public void run() { try { unit.sleep(time); } catch (InterruptedException wontHappen) { throw new AssertionError(wontHappen); } interruptee.interrupt(); } }) .start(); } static void repeatedlyInterruptTestThread(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0)