- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for ERROR_SUCCESS (0.05 seconds)
-
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";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.5K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
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,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (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 =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (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(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (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; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)