- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 2,976 for throwIt (0.35 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; // Validate minimum buffer size for SMB2 negotiate response if (buffer == null || buffer.length < bufferIndex + 65) { throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
} @Override public ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException { return createLocalRepository( new File(System.getProperty("basedir", "."), "target/local-repo").getAbsoluteFile()); } @Override public ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException { return new MavenArtifactRepository(Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
} @Override public void writeExternal(final ObjectOutput s) throws IOException { s.writeInt(size); for (Entry e = header.next; e != header; e = e.next) { s.writeObject(e.element); } } @SuppressWarnings("unchecked") @Override public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException { final int size = s.readInt();Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
@Singleton public class DefaultToolchainsBuilder implements ToolchainsBuilder { private final Logger logger = LoggerFactory.getLogger(getClass()); @Override public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException { PersistedToolchains toolchains = null; if (userToolchainsFile != null && userToolchainsFile.isFile()) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
assertEquals(SsoResponseType.LOGOUT, SsoResponseType.valueOf("LOGOUT")); } public void test_valueOf_invalidName() { // Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { // Expected exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
* @return the info cast to the specified type * @throws CIFSException if the information cannot be cast to the specified type */ @SuppressWarnings("unchecked") public <T extends FileInformation> T getInfo(final Class<T> type) throws CIFSException { if (!type.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 5, 10 }) @DisplayName("Reads structure size 4 and returns 4 for various start indexes") void returnsFour_whenStructureSizeIsFour(int start) throws Exception { // Arrange: build a buffer that has the little-endian value 4 at 'start' int len = start + 2; // need at least two bytes from start byte[] buffer = new byte[len + 3];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
import jakarta.validation.ConstraintValidatorContext; public class CronExpressionValidatorTest extends UnitFessTestCase { public CronExpressionValidator validator; @Override public void setUp() throws Exception { super.setUp(); validator = new CronExpressionValidator(); } public void test_isValid_nullValue() { final ConstraintValidatorContext context = null;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
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) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
@Test @SuppressWarnings("CheckReturnValue") public void forTree_acceptsDirectedGraph() throws Exception { MutableGraph<String> graph = GraphBuilder.directed().build(); graph.putEdge("a", "b"); Traverser.forTree(graph); // Does not throw } @Test public void forTree_withUndirectedGraph_throws() throws Exception { MutableGraph<String> graph = GraphBuilder.undirected().build();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0)