- Sort Score
- Result 10 results
- Languages All
Results 1121 - 1130 of 3,054 for throws (0.04 sec)
-
android/guava/src/com/google/common/net/InetAddresses.java
* * @param addr the raw IP address in little-endian byte order * @return an InetAddress object created from the raw IP address * @throws UnknownHostException if IP address is of illegal length */ public static InetAddress fromLittleEndianByteArray(byte[] addr) throws UnknownHostException { byte[] reversed = new byte[addr.length]; for (int i = 0; i < addr.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
@Deprecated public class JdkPrefixProfileActivator extends DetectedProfileActivator { private static final String JDK_VERSION = System.getProperty("java.version"); @Override public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public void testMethod_notDeclaredByType() throws NoSuchMethodException { Method sizeMethod = Map.class.getMethod("size"); assertThrows(IllegalArgumentException.class, () -> TypeToken.of(List.class).method(sizeMethod)); } public void testMethod_declaredBySuperclass() throws Exception { Method toStringMethod = Object.class.getMethod("toString");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* the class loader that loaded this class is returned. * </p> * * @param targetClass the target class (must not be {@literal null}) * @return the class loader * @throws IllegalStateException if the class loader could not be obtained */ public static ClassLoader getClassLoader(final Class<?> targetClass) { assertArgumentNotNull("targetClass", targetClass);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
this.inetSocketAddress = address; } @Override public void connect(SocketAddress endpoint) throws IOException { this.inetSocketAddress = (InetSocketAddress) endpoint; super.connect(new UnixSocketAddress(path), 0); } @Override public void connect(SocketAddress endpoint, int timeout) throws IOException { this.inetSocketAddress = (InetSocketAddress) endpoint;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
import java.util.Iterator; import org.junit.Test; /** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @Test public void testAll() throws Exception { final LruHashMap<String, String> lru = new LruHashMap<String, String>(3); lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
* Throws any stored WebApiException if found. * * @throws WebApiException If a web API exception was previously stored */ public static void validate() { LaRequestUtil.getOptionalRequest().map(req -> (WebApiException) req.getAttribute(WEB_API_EXCEPTION)).ifPresent(e -> { throw e; }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
void testConstructorWithNullFileId() { // Should not throw exception Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); assertNotNull(requestWithNull); } @Test @DisplayName("setFileId should update file ID") void testSetFileId() throws Exception { byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)