- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 3,380 for throws (0.39 sec)
-
android/guava/src/com/google/common/hash/SneakyThrows.java
* write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); } @SuppressWarnings("unchecked") // not really safe, but that's the point private Error throwIt(Throwable t) throws T { throw (T) t; } private SneakyThrows() {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
} @Test public void testReleaseSendRegion() throws Exception { RdmaMemoryRegion region = bufferManager.getSendRegion(1024); assertNotNull(region); // Release should not throw exception assertDoesNotThrow(() -> bufferManager.releaseSendRegion(region)); } @Test public void testGetReceiveRegion() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* @return {@link Class} * @throws EmptyArgumentException * If the class name is {@literal null} or empty. * @throws ClassNotFoundRuntimeException * If a {@link ClassNotFoundException} occurs. * @see #forName(String) */ public static Class<?> convertClass(final String className) throws ClassNotFoundRuntimeException {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java
@Override public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException { return repositoryLayouts.get(layoutId); } @Override public ArtifactRepository createDeploymentArtifactRepository( String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.7K bytes - Viewed (1) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java
@Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {} @Override public void transform(MavenProject project, RepositorySystemSession session, ModelSource src, Path tgt) throws ModelBuilderException, XMLStreamException, IOException { throw new IllegalStateException("This transformer does not use this call."); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should throw UnknownHostException for empty address list") void testUnknownHostException() throws Exception { // Given: No addresses returned when(nameSvc.getAllByName(eq("unknown.host"), eq(true))).thenReturn(new Address[0]); // When/Then: Should throw UnknownHostExceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
*/ boolean isInUse(); /** * Returns the current session key used for signing and encryption. * * @return the current session key * @throws CIFSException if the session key cannot be retrieved */ byte[] getSessionKey() throws CIFSException; /** * Returns the SMB transport associated with this session. * * @return the transport for this session */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
bindWithNullBinding.encode_in(mockBuffer); }, "Should throw NullPointerException when binding is null"); } @Test @DisplayName("encode_in should use default constructor values") void testEncodeInDefaultConstructor() throws Exception { // Given DcerpcBind defaultBind = new DcerpcBind();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
field.setAccessible(true); return field.get(obj); } catch (Exception e) { throw new RuntimeException("Failed to get field value: " + fieldName, e); } } private void setFieldValue(Object obj, String fieldName, Object value) throws Exception { Field field = getField(obj.getClass(), fieldName); field.setAccessible(true); field.set(obj, value);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* @param forceSigning whether to enforce SMB signing * @return a connected transport * @throws UnknownHostException if the host cannot be resolved * @throws IOException if an I/O error occurs */ SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) throws UnknownHostException, IOException; /** * Get transport connection *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0)