Source Code Cross Referenced for NtStatus.java in  » Groupware » hipergate » com » knowgate » jcifs » smb » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Groupware » hipergate » com.knowgate.jcifs.smb 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* jcifs smb client library in Java
002:         * Copyright (C) 2004  "Michael B. Allen" <jcifs at samba dot org>
003:         *
004:         * This library is free software; you can redistribute it and/or
005:         * modify it under the terms of the GNU Lesser General Public
006:         * License as published by the Free Software Foundation; either
007:         * version 2.1 of the License, or (at your option) any later version.
008:         *
009:         * This library is distributed in the hope that it will be useful,
010:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
011:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
012:         * Lesser General Public License for more details.
013:         *
014:         * You should have received a copy of the GNU Lesser General Public
015:         * License along with this library; if not, write to the Free Software
016:         * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
017:         */
018:
019:        package com.knowgate.jcifs.smb;
020:
021:        public interface NtStatus {
022:
023:            /* Don't bother to edit this. Everthing within the interface
024:             * block is automatically generated from the ntstatus package.
025:             */
026:
027:            public static final int NT_STATUS_OK = 0x00000000;
028:            public static final int NT_STATUS_UNSUCCESSFUL = 0xC0000001;
029:            public static final int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
030:            public static final int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
031:            public static final int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
032:            public static final int NT_STATUS_INVALID_HANDLE = 0xC0000008;
033:            public static final int NT_STATUS_NO_SUCH_FILE = 0xC000000f;
034:            public static final int NT_STATUS_ACCESS_DENIED = 0xC0000022;
035:            public static final int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033;
036:            public static final int NT_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034;
037:            public static final int NT_STATUS_OBJECT_NAME_COLLISION = 0xC0000035;
038:            public static final int NT_STATUS_PORT_DISCONNECTED = 0xC0000037;
039:            public static final int NT_STATUS_OBJECT_PATH_NOT_FOUND = 0xC000003a;
040:            public static final int NT_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003b;
041:            public static final int NT_STATUS_SHARING_VIOLATION = 0xC0000043;
042:            public static final int NT_STATUS_DELETE_PENDING = 0xC0000056;
043:            public static final int NT_STATUS_NO_SUCH_USER = 0xC0000064;
044:            public static final int NT_STATUS_WRONG_PASSWORD = 0xC000006a;
045:            public static final int NT_STATUS_LOGON_FAILURE = 0xC000006d;
046:            public static final int NT_STATUS_ACCOUNT_RESTRICTION = 0xC000006e;
047:            public static final int NT_STATUS_INVALID_LOGON_HOURS = 0xC000006f;
048:            public static final int NT_STATUS_INVALID_WORKSTATION = 0xC0000070;
049:            public static final int NT_STATUS_PASSWORD_EXPIRED = 0xC0000071;
050:            public static final int NT_STATUS_ACCOUNT_DISABLED = 0xC0000072;
051:            public static final int NT_STATUS_INSTANCE_NOT_AVAILABLE = 0xC00000ab;
052:            public static final int NT_STATUS_PIPE_NOT_AVAILABLE = 0xC00000ac;
053:            public static final int NT_STATUS_INVALID_PIPE_STATE = 0xC00000ad;
054:            public static final int NT_STATUS_PIPE_BUSY = 0xC00000ae;
055:            public static final int NT_STATUS_PIPE_DISCONNECTED = 0xC00000b0;
056:            public static final int NT_STATUS_PIPE_CLOSING = 0xC00000b1;
057:            public static final int NT_STATUS_PIPE_LISTENING = 0xC00000b3;
058:            public static final int NT_STATUS_FILE_IS_A_DIRECTORY = 0xC00000ba;
059:            public static final int NT_STATUS_BAD_NETWORK_NAME = 0xC00000cc;
060:            public static final int NT_STATUS_NOT_A_DIRECTORY = 0xC0000103;
061:            public static final int NT_STATUS_CANNOT_DELETE = 0xC0000121;
062:            public static final int NT_STATUS_PIPE_BROKEN = 0xC000014b;
063:            public static final int NT_STATUS_LOGON_TYPE_NOT_GRANTED = 0xC000015b;
064:            public static final int NT_STATUS_ACCOUNT_LOCKED_OUT = 0xC0000234;
065:            public static final int NT_STATUS_PATH_NOT_COVERED = 0xC0000257;
066:
067:            static final int[] NT_STATUS_CODES = { NT_STATUS_OK,
068:                    NT_STATUS_UNSUCCESSFUL, NT_STATUS_NOT_IMPLEMENTED,
069:                    NT_STATUS_INVALID_INFO_CLASS, NT_STATUS_ACCESS_VIOLATION,
070:                    NT_STATUS_INVALID_HANDLE, NT_STATUS_NO_SUCH_FILE,
071:                    NT_STATUS_ACCESS_DENIED, NT_STATUS_OBJECT_NAME_INVALID,
072:                    NT_STATUS_OBJECT_NAME_NOT_FOUND,
073:                    NT_STATUS_OBJECT_NAME_COLLISION,
074:                    NT_STATUS_PORT_DISCONNECTED,
075:                    NT_STATUS_OBJECT_PATH_NOT_FOUND,
076:                    NT_STATUS_OBJECT_PATH_SYNTAX_BAD,
077:                    NT_STATUS_SHARING_VIOLATION, NT_STATUS_DELETE_PENDING,
078:                    NT_STATUS_NO_SUCH_USER, NT_STATUS_WRONG_PASSWORD,
079:                    NT_STATUS_LOGON_FAILURE, NT_STATUS_ACCOUNT_RESTRICTION,
080:                    NT_STATUS_INVALID_LOGON_HOURS,
081:                    NT_STATUS_INVALID_WORKSTATION, NT_STATUS_PASSWORD_EXPIRED,
082:                    NT_STATUS_ACCOUNT_DISABLED,
083:                    NT_STATUS_INSTANCE_NOT_AVAILABLE,
084:                    NT_STATUS_PIPE_NOT_AVAILABLE, NT_STATUS_INVALID_PIPE_STATE,
085:                    NT_STATUS_PIPE_BUSY, NT_STATUS_PIPE_DISCONNECTED,
086:                    NT_STATUS_PIPE_CLOSING, NT_STATUS_PIPE_LISTENING,
087:                    NT_STATUS_FILE_IS_A_DIRECTORY, NT_STATUS_BAD_NETWORK_NAME,
088:                    NT_STATUS_NOT_A_DIRECTORY, NT_STATUS_CANNOT_DELETE,
089:                    NT_STATUS_PIPE_BROKEN, NT_STATUS_LOGON_TYPE_NOT_GRANTED,
090:                    NT_STATUS_ACCOUNT_LOCKED_OUT, NT_STATUS_PATH_NOT_COVERED, };
091:
092:            static final String[] NT_STATUS_MESSAGES = {
093:                    "The operation completed successfully.",
094:                    "A device attached to the system is not functioning.",
095:                    "Incorrect function.",
096:                    "The parameter is incorrect.",
097:                    "Invalid access to memory location.",
098:                    "The handle is invalid.",
099:                    "The system cannot find the file specified.",
100:                    "Access is denied.",
101:                    "The filename, directory name, or volume label syntax is incorrect.",
102:                    "The system cannot find the file specified.",
103:                    "Cannot create a file when that file already exists.",
104:                    "The handle is invalid.",
105:                    "The system cannot find the path specified.",
106:                    "The specified path is invalid.",
107:                    "The process cannot access the file because it is being used by another process.",
108:                    "Access is denied.",
109:                    "The specified user does not exist.",
110:                    "The specified network password is not correct.",
111:                    "Logon failure: unknown user name or bad password.",
112:                    "Logon failure: user account restriction.",
113:                    "Logon failure: account logon time restriction violation.",
114:                    "Logon failure: user not allowed to log on to this computer.",
115:                    "Logon failure: the specified account password has expired.",
116:                    "Logon failure: account currently disabled.",
117:                    "All pipe instances are busy.",
118:                    "All pipe instances are busy.",
119:                    "The pipe state is invalid.",
120:                    "All pipe instances are busy.",
121:                    "No process is on the other end of the pipe.",
122:                    "The pipe is being closed.",
123:                    "Waiting for a process to open the other end of the pipe.",
124:                    "Access is denied.",
125:                    "The network name cannot be found.",
126:                    "The directory name is invalid.",
127:                    "Access is denied.",
128:                    "The pipe has been ended.",
129:                    "Logon failure: the user has not been granted the requested logon type at this computer.",
130:                    "The referenced account is currently locked out and may not be logged on to.",
131:                    "The remote system is not reachable by the transport.", };
132:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.