- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,885 for Exception (0.11 sec)
-
src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java
*/ public class IntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToInteger() throws Exception { assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000")); } /** * @throws Exception */ public void testToPrimitiveInt() throws Exception { assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
*/ public class ResourceTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachFile() throws Exception { final File rootDir = ResourceUtil.getBuildDir(getClass());
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
} } if (exception != null) { throw exception } } internal fun <E> MutableList<E>.addIfAbsent(element: E) { if (!contains(element)) add(element) } internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable = apply { for (e in suppressed) addSuppressed(e) } internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
}; } @Override protected void run() throws Exception {} } public void testStopWhileStarting_runNotCalled() throws Exception { final CountDownLatch started = new CountDownLatch(1); FakeService service = new FakeService() { @Override protected void startUp() throws Exception { super.startUp(); started.await(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} /** Records thrown exception information. */ private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler { public SubscriberExceptionContext context; public Throwable exception; @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { this.exception = exception; this.context = context; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java
import org.apache.maven.api.services.MavenException; /** * An exception thrown during the writing of an xml file. * * @since 4.0.0 */ @Experimental public class XmlWriterException extends MavenException { private final Location location; /** * @param message the message for the exception * @param e the exception itself */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
* @throws Exception */ @Test public void testGetElementType_Rawtype() throws Exception { assertThat(FieldUtil.getElementTypeOfCollection(Baz.class.getField("collectionOfRawtype")), is(nullValue())); } /** * @throws Exception */ public void testGetElementTypeOfCollection() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
public void testBuildTesterRequirements_class_notAnnotated() throws Exception { class Tester {} TesterRequirements requirements = buildTesterRequirements(Tester.class); assertThat(requirements.getPresentFeatures()).isEmpty(); assertThat(requirements.getAbsentFeatures()).isEmpty(); } public void testBuildTesterRequirements_class_empty() throws Exception { @Require class Tester {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 11.5K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserException.java
import org.apache.maven.api.services.MavenException; /** * Represents an exception that occurs during the parsing of Maven command-line arguments. * This exception is typically thrown when there are user errors in the command-line input, * such as invalid arguments or references to missing files. When this exception is thrown, * it indicates that the Maven execution should be stopped and the user should correct the issue. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 2K bytes - Viewed (0)