Source Code Cross Referenced for ErrorCodes.java in  » Portal » liferay-portal-4.4.2 » org » apache » wsrp4j » exception » 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 » Portal » liferay portal 4.4.2 » org.apache.wsrp4j.exception 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2000-2001,2004 The Apache Software Foundation.
003:         * 
004:         * Licensed under the Apache License, Version 2.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         * 
008:         *      http://www.apache.org/licenses/LICENSE-2.0
009:         * 
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         */
016:
017:        package org.apache.wsrp4j.exception;
018:
019:        public interface ErrorCodes {
020:
021:            // Persistence
022:            public static final int STORE_OBJECT_ERROR = 1000;
023:
024:            public static final int RESTORE_OBJECT_ERROR = 1001;
025:
026:            public static final int DELETE_OBJECT_ERROR = 1002;
027:
028:            public static final int UNMARSHAL_ERROR = 1003;
029:
030:            public static final int MARSHAL_ERROR = 1004;
031:
032:            // Faults defined by the WSRP Specification
033:            public static final int ACCESS_DENIED = 1100;
034:
035:            public static final int INCONSISTENT_PARAMETERS = 1101;
036:
037:            public static final int INVALID_REGISTRATION = 1102;
038:
039:            public static final int INVALID_COOKIE = 1103;
040:
041:            public static final int INVALID_HANDLE = 1104;
042:
043:            public static final int INVALID_SESSION = 1105;
044:
045:            public static final int INVALID_USER_CATEGORY = 1106;
046:
047:            public static final int MISSING_PARAMETERS = 1107;
048:
049:            public static final int OPERATION_FAILED = 1108;
050:
051:            public static final int PORTLET_STATE_CHANGE_REQUIRED = 1109;
052:
053:            public static final int UNSUPPORTED_LOCALE = 1110;
054:
055:            public static final int UNSUPPORTED_MIME_TYPE = 1111;
056:
057:            public static final int UNSUPPORTED_MODE = 1112;
058:
059:            public static final int UNSUPPORTED_WINDOW_STATE = 1113;
060:
061:            // Error Codes Producer
062:
063:            // Access to factories
064:            public static final int PROVIDER_FACTORY_NOT_FOUND = 2001;
065:
066:            public static final int PROPERTY_FILE_NOT_FOUND = 2002;
067:
068:            public static final int CONSUMER_REGISTRY_FACTORY_NOT_FOUND = 2003;
069:
070:            public static final int PERSISTENT_FACTORY_NOT_FOUND = 2004;
071:
072:            // Description Handler
073:            public static final int SAVE_SERVICEDESCRIPTION_FAILED = 3000;
074:
075:            public static final int LOAD_SERVICEDESCRIPTION_FAILED = 3001;
076:
077:            public static final int MISSING_DEFAULT_LOCALE = 3002;
078:
079:            public static final int MISSING_DEFAULT_LANGUAGE = 3003;
080:
081:            public static final int NO_PORTLETDESCRIPTIONS_FOUND = 3004;
082:
083:            public static final int MISSING_PORTLET_DEFINITION = 3005;
084:
085:            public static final int PORTLET_PORTLET_NOT_FOUND = 3006;
086:
087:            // Portlet Pool
088:            public static final int GET_PORTLET_FAILED = 3020;
089:
090:            // Portlet Invoker
091:            public final static int SERVICE_CLASS_NOT_FOUND = 3030;
092:
093:            public final static int INSTANTIATION_OF_SERVICE_FAILED = 3031;
094:
095:            // URL Composer
096:            public static final int UNKNOWN_TOKEN_IN_TEMPLATE = 3040;
097:
098:            public static final int SYNTAX_ERROR_IN_TEMPLATE = 3041;
099:
100:            // Error Codes Consumer
101:            public static final int CONSUMER_PROPERTY_FILE_NOT_FOUND = 6000;
102:
103:            public static final int INSTANTIATION_OF_CONSUMER_ENV_FAILED = 6001;
104:
105:            public static final int COULD_NOT_ADD_REQUEST_PARAM = 6002;
106:
107:            public static final int MISSING_SERVCICE_DESC_PORT = 6003;
108:
109:            public static final int INIT_OF_SERVICE_DESC_PORT_FAILED = 6004;
110:
111:            public static final int INVALID_URL_OF_SERVICE_DESC_PORT = 6005;
112:
113:            public static final int INIT_OF_REGISTRATION_PORT_FAILED = 6006;
114:
115:            public static final int INVALID_URL_OF_REGISTRATION_PORT = 6007;
116:
117:            public static final int INVALID_LINK_WITHIN_MARKUP = 6008;
118:
119:            public static final int NO_VALID_URL_TYPE_PARAM_FOUND = 6009;
120:
121:            public static final int INVALID_PORTLET_HANDLE = 6010;
122:
123:            public static final int INVALID_SERVICE_DESCRIPTION = 6011;
124:
125:            public static final int COULD_NOT_FOLLOW_REDIRECT = 6012;
126:
127:            public static final int PRODUCER_DOES_NOT_EXIST = 6013;
128:
129:            public static final int INIT_OF_PORTLET_MGMT_PORT_FAILED = 6014;
130:
131:            public static final int INVALID_URL_OF_PORTLET_MGMT_PORT = 6015;
132:
133:            public static final int MISSING_MARKUP_PORT = 6016;
134:
135:            public static final int INIT_OF_MARKUP_PORT_FAILED = 6017;
136:
137:            public static final int INVALID_URL_OF_MARKUP_PORT = 6018;
138:
139:            public static final int PORTLET_DESC_NOT_FOUND = 6019;
140:
141:            public static final int USER_SESSION_NOT_FOUND = 6020;
142:
143:            public static final int GROUP_SESSION_NOT_FOUND = 6021;
144:
145:            public static final int PORTLET_SESSION_NOT_FOUND = 6022;
146:
147:            public static final int WINDWOS_SESSION_NOT_FOUND = 6023;
148:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.