- Sort Score
- Result 10 results
- Languages All
Results 1451 - 1460 of 3,054 for throws (0.04 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } } public void testFeatureEnums() throws Exception { assertGoodFeatureEnum(CollectionFeature.class); assertGoodFeatureEnum(ListFeature.class); assertGoodFeatureEnum(SetFeature.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally { iterator = null; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* @param auth * The NTLM password authenticator containing user credentials * @throws SmbException * If there is an error setting up the signing digest */ public SMB1SigningDigest(final SmbTransportInternal transport, final NtlmPasswordAuthenticator auth) throws SmbException { this.digest = Crypto.getMD5(); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
} @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void closeAll(BaseStream<?, ?>[] toClose) { // If one of the streams throws an exception, continue closing the others, then throw the // exception later. If more than one stream throws an exception, the later ones are added to the // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
guava/src/com/google/common/collect/TopKSelector.java
/** * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it, * relative to the natural ordering of the elements, and returns them via {@link #topK} in * ascending order. * * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2} */ public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) { return least(k, Ordering.natural()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
// public so that it can be referenced in generated GWT tests. @Override public void setUp() throws Exception { if (setUp != null) { setUp.run(); } } // public so that it can be referenced in generated GWT tests. @Override public void tearDown() throws Exception { if (tearDown != null) { tearDown.run(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
@Override public void setUp() throws Exception { super.setUp(); ssoManager = new SsoManager() { @Override protected String getSsoType() { return currentSsoType; } }; testAuthenticator = new TestSsoAuthenticator(); } @Override public void tearDown() throws Exception { currentSsoType = Constants.NONE;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} catch (GSSException e) { throw new SmbException("Context setup failed", e); } } /** * Set the Kerberos subject * * @param subject * the subject to set */ protected void setSubject(Subject subject) { this.subject = subject; } @Override public void refresh() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlock.java
* * @param buffer the byte array containing the message data * @param bufferIndex the starting index in the buffer * @return message length * @throws SMBProtocolDecodingException if decoding fails */ int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException; /** * Encodes this message into a byte array. * * @param dst the destination byte array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
assertEquals(443, Handler.DEFAULT_HTTPS_PORT); } @Test @DisplayName("DEFAULT_HTTPS_PORT should be public static final") void testDefaultHttpsPortModifiers() throws NoSuchFieldException { // When var field = Handler.class.getField("DEFAULT_HTTPS_PORT"); // Then assertTrue(Modifier.isPublic(field.getModifiers()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)