- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for wrappers (0.33 sec)
-
README.md
### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ```
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java
import jcifs.internal.smb2.rdma.RdmaAccess; import jcifs.internal.smb2.rdma.RdmaMemoryRegion; /** * TCP memory region implementation. * * For TCP fallback, memory regions are just wrappers around * ByteBuffers since no real RDMA registration is needed. */ public class TcpMemoryRegion extends RdmaMemoryRegion { private static final AtomicInteger keyGenerator = new AtomicInteger(1000); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* <p>A subcollection, such as a sublist, contains some of the values for a given key. Its * ancestor field points to the full wrapped collection with all values for the key. The * subcollection {@code refreshIfEmpty}, {@code removeIfEmpty}, and {@code addToMap} methods call * the corresponding methods of the full wrapped collection. */ @WeakOuter class WrappedCollection extends AbstractCollection<V> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Wrapper but not wrapping a DosFileFilter SmbFileFilter nonDosFilter = mock(SmbFileFilter.class); Object wrapper = newPrivateInner("ResourceFilterWrapper", new Class<?>[] { SmbFileFilter.class }, nonDosFilter); Object unwrapped = invokePrivate(SmbEnumerationUtil.class, "unwrapDOSFilter", new Class<?>[] { ResourceFilter.class }, wrapper); assertNull(unwrapped);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
throw new RuntimeException("Wrapper exception", cause); } }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job String result = aggregateLogJob.execute(); // Verify result contains the wrapper exception message assertNotNull(result); assertTrue(result.contains("Wrapper exception"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
ParameterNotInstantiableException.class, () -> new ClassSanityTester().doTestEquals(SetWrapper.class)); } private abstract static class Wrapper { private final Object wrapped; Wrapper(Object wrapped) { this.wrapped = checkNotNull(wrapped); } @Override public boolean equals(@Nullable Object obj) { // In general getClass().isInstance() is bad for equals.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc; /** * Unicode string type wrapper * */ public class UnicodeString extends rpc.unicode_string { boolean zterm; /** * Constructs a UnicodeString with zero termination option. * * @param zterm
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
import jcifs.smb.SmbNamedPipe; /** * A wrapper implementation of CIFSContext that delegates to another context. * This class allows for context decoration and customization through delegation. * * @author mbechler */ public class CIFSContextWrapper implements CIFSContext { private final CIFSContext delegate; private Handler wrappedHandler; /** * Constructs a wrapper around the specified CIFS context. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
/** * <p> * Under normal conditions it is not necessary to use * this class to use jCIFS properly. Name resolusion is * handled internally to the <code>jcifs.smb</code> package. * <p> * This class is a wrapper for both {@link jcifs.netbios.NbtAddress} * and {@link java.net.InetAddress}. The name resolution mechanisms * used will systematically query all available configured resolution
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL // and that it attempts to create an SmbFile. // We cannot directly mock `new SmbFile()`, so we rely on the fact that if it doesn't throw, it's working as expected. // This test primarily ensures that the wrapper correctly handles the MalformedURLException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)