- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ERROR_SUCCESS (0.04 sec)
-
src/test/java/jcifs/smb/WinErrorTest.java
} // Producer for code->message pairs covering all known constants (happy path) static Stream<Arguments> knownCodeMessagePairs() { return Stream.of(Arguments.of(WinError.ERROR_SUCCESS, "The operation completed successfully."), Arguments.of(WinError.ERROR_ACCESS_DENIED, "Access is denied."), Arguments.of(WinError.ERROR_REQ_NOT_ACCEP,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
* @return true if successful (return code is ERROR_SUCCESS) */ public boolean isSuccess() { return returnCode == ERROR_SUCCESS; } /** * Gets the error message for the current return code. * * @return a human-readable error message */ public String getErrorMessage() { switch (returnCode) { case ERROR_SUCCESS: return "Success";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
*/ public class WinErrorTest { @Nested @DisplayName("Constant value checks") class ConstantValues { @Test void successIsZero() { assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0"); } @Test void accessDeniedIsFive() { assertEquals(5, WinError.ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED should be 5"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/WinError.java
/* * Don't bother to edit this. Everything within the interface * block is automatically generated from the ntstatus package. */ /** The operation completed successfully */ int ERROR_SUCCESS = 0; /** Access is denied */ int ERROR_ACCESS_DENIED = 5; /** No more connections can be made to this remote computer */ int ERROR_REQ_NOT_ACCEP = 71; /** The pipe state is invalid */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/WinError.java
/* Don't bother to edit this. Everthing within the interface * block is automatically generated from the ntstatus package. */ /** The operation completed successfully */ int ERROR_SUCCESS = 0; /** Access is denied */ int ERROR_ACCESS_DENIED = 5; /** No more connections can be made to this remote computer */ int ERROR_REQ_NOT_ACCEP = 71; /** The pipe state is invalid */
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/smb/NetServerEnumIterator.java
final int status = this.response.getStatus(); if (status == WinError.ERROR_SERVICE_NOT_INSTALLED) { throw new SmbUnsupportedOperationException(); } if (status != WinError.ERROR_SUCCESS && status != WinError.ERROR_MORE_DATA) { throw new SmbException(status, true); } } private FileEntry advance() throws CIFSException { final int n =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
final SmbComTransaction req = new NetShareEnum(th.getConfig()); final SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig()); th.send(req, resp); if (resp.getStatus() != WinError.ERROR_SUCCESS) { throw new SmbException(resp.getStatus(), true); } return resp.getResults(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
final SmbComTransaction req = new NetShareEnum(); final SmbComTransactionResponse resp = new NetShareEnumResponse(); send(req, resp); if (resp.status != WinError.ERROR_SUCCESS) { throw new SmbException(resp.status, true); } return resp.results; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)