- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 3,054 for throws (0.03 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
* @throws SettingsBuilderException if the effective settings could not be built */ @Nonnull SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request); /** * Builds the effective settings of the specified settings sources. * * @return the result of the settings building, never {@code null}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertNull(init.getMechanisms()); // Should not throw when converting to byte array assertDoesNotThrow(() -> init.toByteArray()); } @Test @DisplayName("Large MIC values are handled correctly") void testLargeMicValue() throws Exception { byte[] largeMic = new byte[1024]; Arrays.fill(largeMic, (byte) 0xAB);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException { super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL); this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT; lock = new Object(); } @Override public int read() throws IOException { int result = -1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @Test void testReadDataWireFormatZeroLength() throws SMBProtocolDecodingException { // Test with zero-length data byte[] buffer = new byte[100]; int result = response.readDataWireFormat(buffer, 50, 0); assertEquals(0, result); } @Test void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/recipes.md
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n");
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
* @param auth the NTLM authentication credentials * @throws UnknownHostException if the host cannot be resolved * @throws MalformedURLException if the URL is malformed * @throws DcerpcException if DCERPC initialization fails */ public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth) throws UnknownHostException, MalformedURLException, DcerpcException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
throws ArtifactMetadataRetrievalException { throw new UnsupportedOperationException("Cannot get available versions in this test case"); } @Override public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository( Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws ArtifactMetadataRetrievalException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
public class PacDataInputStreamTest { // Helper to create PacDataInputStream from a byte array private PacDataInputStream createInputStream(byte[] data) throws IOException { return new PacDataInputStream(new ByteArrayInputStream(data)); } @Test public void testAlign() throws IOException { // Test alignment from position 1 to 4 byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} } public void test_writeThreadDump() throws IOException { // Create a temporary file for testing Path tempFile = Files.createTempFile("test-thread-dump", ".txt"); try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Verify the file was created and contains content
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
/** * Close the file * * @throws SmbException if an I/O error occurs during close */ @Override void close() throws SmbException; /** * Read a single byte from the current position * * @return read byte, -1 if EOF * @throws SmbException if an I/O error occurs during read */ int read() throws SmbException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)