- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NullArgumentException (0.21 sec)
-
src/main/java/org/codelibs/core/exception/NullArgumentException.java
* * @author wyukawa */ public class NullArgumentException extends ClIllegalArgumentException { /** * */ private static final long serialVersionUID = 1L; /** * Creates a {@link NullArgumentException}. * * @param argName * Name of the argument that is {@code null} */ public NullArgumentException(final String argName) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
// ## Arrange ## Locale.setDefault(Locale.JAPANESE); final NullArgumentException nullArgumentException = new NullArgumentException("hoge"); assertThat(nullArgumentException.getArgName(), is("hoge")); assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null.")); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
import static org.junit.Assert.assertThat; import java.util.Enumeration; import java.util.Vector; import org.codelibs.core.exception.ClUnsupportedOperationException; import org.codelibs.core.exception.NullArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author shot * @author manhole */ public class EnumerationIteratorTest { /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
import java.io.InputStreamReader; import java.io.Writer; import java.net.URL; import java.util.Properties; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.exception.NullArgumentException; import org.codelibs.core.net.URLUtil; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder; /** * @author wyukawa * */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertEquals; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import org.codelibs.core.exception.NullArgumentException; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author higa * */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
import org.codelibs.core.exception.ClIllegalArgumentException; import org.codelibs.core.exception.ClIllegalStateException; import org.codelibs.core.exception.ClIndexOutOfBoundsException; import org.codelibs.core.exception.NullArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author wyukawa * */ public class AssertionUtilTest { /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* @param argValue * The value of the argument. * @throws NullArgumentException * If the argument is <code>null</code>. */ public static void assertArgumentNotNull(final String argName, final Object argValue) { if (argValue == null) { throw new NullArgumentException(argName); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
public void testCopyMapToBean_SrcNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[src] is null.")); BeanUtil.copyMapToBean(null, new Object()); } /** * */ @Test public void testCopyBeanToMap_DestNull() { exception.expect(NullArgumentException.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0)