- Sort Score
- Num 10 results
- Language All
Results 1381 - 1390 of 3,637 for throwIf (0.05 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
private Model read(String pom) throws Exception { String resource = "/poms/validation/" + pom; try (InputStream is = getClass().getResourceAsStream(resource)) { assertNotNull(is, "missing resource: " + resource); return new Model(new MavenStaxReader().read(is)); } } private SimpleProblemCollector validate(String pom) throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
* <code>false</code> otherwise * @throws CIFSException if an error occurs accessing the resource */ boolean exists() throws CIFSException; /** * Fetch a child resource * * @param name the name of the child resource to resolve * @return the child resource * @throws CIFSException if an error occurs accessing the resource */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
advance(i - this.index); } /** * Decodes a string from NDR format. * * @return the decoded string * @throws NdrException if decoding fails */ public String dec_ndr_string() throws NdrException { align(4); int i = this.index; String val = null; int len = Encdec.dec_uint32le(this.buf, i); i += 12;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
/** * @throws Exception */ @Test public void testIndexOf_character() throws Exception { final char[] array = new char[] { 'a', 'b', 'c' }; assertThat(ArrayUtil.indexOf(array, 'a'), is(0)); assertThat(ArrayUtil.indexOf(array, 'd'), is(-1)); } /** * @throws Exception */ @Test public void testRemoveFirst() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
fail("Should throw exception for null property"); } catch (IllegalArgumentException e) { // Expected } } @Test public void test_addConstraintsDecimalMaxMessage_nullProperty() { try { messages.addConstraintsDecimalMaxMessage(null, "100"); fail("Should throw exception for null property");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
} /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @Test public void testNullBuffer() throws Exception { assertThrows(SmbException.class, () -> { validator.validateBuffer(null, 100, 1024);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testGetMessage() throws Exception { final String s = MessageFormatter.getMessage("EMSG0000");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
@Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "level"), level = DeprecationLevel.ERROR, ) fun getLevel(): Level = level @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val level = this.level val request = chain.request() if (level == Level.NONE) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0)