- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,774 for throws (0.07 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
throw t; } } /** Calls threadFail with message "should throw exception". */ public void threadShouldThrow() { threadFail("should throw exception"); } /** Calls threadFail with message "should throw" + exceptionName. */ public void threadShouldThrow(String exceptionName) { threadFail("should throw " + exceptionName); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
return FS.getRootDirectories().iterator().next(); } private Path tempDir; @Override protected void setUp() throws Exception { tempDir = Files.createTempDirectory("MoreFilesTest"); } @Override protected void tearDown() throws Exception { if (tempDir != null) { // delete tempDir and its contents Files.walkFileTree( tempDir,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
public class NumberConversionUtilTest extends TestCase { /** * @throws Exception */ public void testConvertNumber_byte() throws Exception { assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1")); } /** * @throws Exception */ public void testConvertNumber_primitiveWrapper() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
} @Throws(SocketException::class) override fun getSendBufferSize(): Int { return delegate!!.sendBufferSize } @Throws(SocketException::class) override fun getSoTimeout(): Int { return delegate!!.soTimeout } @Throws(SocketException::class) override fun getTcpNoDelay(): Boolean { return delegate!!.tcpNoDelay } @Throws(SocketException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
throw new TransferCancelledException(); } @Override public void transferProgressed(TransferEvent event) throws TransferCancelledException { throw new TransferCancelledException(); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
/** * @throws Exception */ @Test(expected = IllegalPropertyRuntimeException.class) public void testSetValue_notWritable() throws Exception { final MyBean myBean = new MyBean(); final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final PropertyDesc propDesc = beanDesc.getPropertyDesc("aaa"); propDesc.setValue(myBean, null); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any. * @return Model */ public Settings read(Reader reader) throws IOException, XmlPullParserException { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
/** Throws an undeclared checked exception. */ private static void sneakyThrow(Throwable t) { class SneakyThrower<T extends Throwable> { @SuppressWarnings("unchecked") // intentionally unsafe for test void throwIt(Throwable t) throws T { throw (T) t; } } new SneakyThrower<Error>().throwIt(t); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java
throw new UnsupportedOperationException("Cannot get available versions in this test case"); } public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository( Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws ArtifactMetadataRetrievalException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
} @Override public void addRepository(Repository repository) throws InvalidRepositoryException { addRepository(repository, false); } @Override public void addRepository(final Repository repository, boolean replace) throws InvalidRepositoryException { if (session.isIgnoreArtifactDescriptorRepositories()) { return; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.5K bytes - Viewed (0)