Searched refs:lastError (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsException.java40 private int lastError; field in class:WindowsException
43 WindowsException(int lastError) { argument
44 this.lastError = lastError;
49 this.lastError = 0;
53 int lastError() { method in class:WindowsException
54 return lastError;
59 msg = WindowsNativeDispatcher.FormatMessage(lastError);
61 msg = "Unknown error: 0x" + Integer.toHexString(lastError);
74 if (lastError()
[all...]
H A DWindowsFileCopy.java158 if (x.lastError() == ERROR_DIR_NOT_EMPTY ||
159 x.lastError() == ERROR_ALREADY_EXISTS)
295 if (x.lastError() == ERROR_NOT_SAME_DEVICE) {
369 if (x.lastError() == ERROR_DIR_NOT_EMPTY ||
370 x.lastError() == ERROR_ALREADY_EXISTS)
386 if (x.lastError() != ERROR_NOT_SAME_DEVICE)
453 if (x.lastError() == ERROR_DIR_NOT_EMPTY ||
454 x.lastError() == ERROR_ALREADY_EXISTS)
H A DWindowsUserPrincipals.java146 if (x.lastError() == ERROR_NONE_MAPPED)
H A DWindowsFileSystemProvider.java256 (x.lastError() == ERROR_FILE_NOT_FOUND ||
257 x.lastError() == ERROR_PATH_NOT_FOUND)) return false;
262 if (x.lastError() == ERROR_DIR_NOT_EMPTY ||
263 x.lastError() == ERROR_ALREADY_EXISTS)
574 if (x.lastError() == ERROR_INVALID_REPARSE_DATA) {
H A DWindowsDirectoryStream.java83 if (x.lastError() == ERROR_DIRECTORY) {
H A DWindowsFileStore.java69 if (ignoreNotReady && x.lastError() == ERROR_NOT_READY)
H A DWindowsLinkSupport.java81 if (x.lastError() != ERROR_INVALID_LEVEL)
279 if (x.lastError() == ERROR_NOT_A_REPARSE_POINT)
H A DWindowsFileAttributeViews.java103 if (followLinks && x.lastError() == ERROR_INVALID_PARAMATER) {
H A DWindowsFileAttributes.java317 if (x.lastError() != ERROR_SHARING_VIOLATION)
/openjdk7/jdk/src/share/classes/sun/tools/jps/
H A DJps.java66 Throwable lastError = null;
128 lastError = e;
131 lastError = e;
143 if ((lastError != null)
144 && (lastError.getMessage() != null)) {
146 output.append(lastError.getMessage());
151 lastError.printStackTrace();
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DSocketChannelImpl.c62 int lastError = 0; local
79 lastError = WSAGetLastError();
94 handleSocketError(env, lastError);
122 int lastError = WSAGetLastError(); local
123 if (lastError == WSAEINPROGRESS) {
126 NET_ThrowNew(env, lastError, "getsockopt");
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Debug.cpp159 DWORD lastError = GetLastError(); local
167 lastError,
177 _snprintf(assertMsg, ASSERT_MSG_SIZE, AssertFmt, expr, file, line, lastError, msgBuffer);
H A DThemeReader.cpp244 DWORD lastError = GetLastError(); local
245 if (lastError != 0) {
251 lastError,
257 DTRACE_PRINTLN3("Error: hres=0x%x lastError=0x%x %s\n", hres,
258 lastError, msgBuffer);
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp520 DWORD lastError = GetLastError(); local
521 if (lastError != ERROR_INVALID_PARAMETER) {
/openjdk7/jdk/src/windows/native/sun/nio/fs/
H A DWindowsNativeDispatcher.c95 static void throwWindowsException(JNIEnv* env, DWORD lastError) { argument
97 "(I)V", lastError);

Completed in 86 milliseconds