1 18 19 package jcifs.smb; 20 21 public interface WinError { 22 23 26 27 public static final int ERROR_SUCCESS = 0; 28 public static final int ERROR_REQ_NOT_ACCEP = 71; 29 public static final int ERROR_BAD_PIPE = 230; 30 public static final int ERROR_PIPE_BUSY = 231; 31 public static final int ERROR_NO_DATA = 232; 32 public static final int ERROR_PIPE_NOT_CONNECTED = 233; 33 public static final int ERROR_MORE_DATA = 234; 34 public static final int ERROR_NO_BROWSER_SERVERS_FOUND = 6118; 35 36 static final int[] WINERR_CODES = { 37 ERROR_SUCCESS, 38 ERROR_REQ_NOT_ACCEP, 39 ERROR_BAD_PIPE, 40 ERROR_PIPE_BUSY, 41 ERROR_NO_DATA, 42 ERROR_PIPE_NOT_CONNECTED, 43 ERROR_MORE_DATA, 44 ERROR_NO_BROWSER_SERVERS_FOUND 45 }; 46 47 static final String [] WINERR_MESSAGES = { 48 "The operation completed successfully.", 49 "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.", 50 "The pipe state is invalid.", 51 "All pipe instances are busy.", 52 "The pipe is being closed.", 53 "No process is on the other end of the pipe.", 54 "More data is available.", 55 "The list of servers for this workgroup is not currently available." 56 }; 57 } 58 59 | Popular Tags |