Source Code Cross Referenced for DesktopDataException.java in  » Portal » Open-Portal » com » sun » portal » desktop » admin » mbeans » tasks » 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 » Open Portal » com.sun.portal.desktop.admin.mbeans.tasks 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * $Id: DesktopDataException.java,v 1.3 2005/04/21 19:39:57 cathywu Exp $
003:         * Copyright 2004 Sun Microsystems, Inc. All
004:         * rights reserved. Use of this product is subject
005:         * to license terms. Federal Acquisitions:
006:         * Commercial Software -- Government Users
007:         * Subject to Standard License Terms and
008:         * Conditions.
009:         *
010:         * Sun, Sun Microsystems, the Sun logo, and Sun ONE
011:         * are trademarks or registered trademarks of Sun Microsystems,
012:         * Inc. in the United States and other countries.
013:         */package com.sun.portal.desktop.admin.mbeans.tasks;
014:
015:        public class DesktopDataException extends Exception {
016:
017:            private Object[] tokens = null;
018:
019:            /**
020:             * Constructs a new desktopdata exception with <code>null</code>
021:             * as its detail message.  The cause is not initialized, and may
022:             * subsequently be initialized by a call to {@link #initCause}.
023:             */
024:            public DesktopDataException() {
025:                super ();
026:            }
027:
028:            /**
029:             * Constructs a new desktopdata exception with the specified
030:             * detail message.  The cause is not initialized, and may
031:             * subsequently be initialized by a call to {@link #initCause}.
032:             *
033:             * @param  message  the detail message. The detail message is
034:             *                  saved for later retrieval by the {@link
035:             *                  #getMessage()} method.
036:             */
037:            public DesktopDataException(String message) {
038:                super (message);
039:            }
040:
041:            /**
042:             * Constructs a new desktopdata exception with the specified
043:             * detail message and object array of tokens.  
044:             *
045:             * @param  message  the detail message. The detail message is
046:             *                  saved for later retrieval by the {@link
047:             *                  #getMessage()} method.
048:             *  @param  tokens  the tokens to be inserted in the localized
049:             * message (which is saved for later
050:             *                  retrieval by the {@link #getTokens()} method).
051:             */
052:            public DesktopDataException(String message, Object[] tokens) {
053:                super (message);
054:                this .tokens = tokens;
055:            }
056:
057:            /**
058:             * Constructs a new desktopdata exception with the specified
059:             * detail message and cause.  <p>Note that the detail message
060:             * associated with <code>cause</code> is <i>not</i> automatically
061:             * incorporated in this exception's detail message.
062:             *
063:             * @param  message  the detail message (which is saved for later
064:             *                  retrieval by the {@link #getMessage()} method).
065:             * @param  cause  the cause (which is saved for later retrieval by
066:             *                the {@link #getCause()} method).  (A
067:             *                <tt>null</tt> value is permitted, and indicates
068:             *                that the cause is nonexistent or unknown.)
069:             */
070:            public DesktopDataException(String message, Throwable cause) {
071:                super (message, cause);
072:            }
073:
074:            /**
075:             * Constructs a new desktopdata exception with the specified
076:             * detail message, cause, and object array of tokens.  
077:             *
078:             * @param  message  the detail message. The detail message is
079:             *                  saved for later retrieval by the {@link
080:             *                  #getMessage()} method.
081:             * @param  cause  the cause (which is saved for later retrieval by
082:             *                the {@link #getCause()} method).  (A
083:             *                <tt>null</tt> value is permitted, and indicates
084:             *                that the cause is nonexistent or unknown.)
085:             * @param  tokens  the tokens to be inserted in the localized
086:             * message (which is saved for later
087:             *                  retrieval by the {@link #getTokens()} method).
088:             */
089:            public DesktopDataException(String message, Throwable cause,
090:                    Object[] tokens) {
091:                super (message, cause);
092:                this .tokens = tokens;
093:            }
094:
095:            /**
096:             * Constructs a new desktopdata exception with the specified
097:             * cause and a detail message of <tt>((cause == null) ? null :
098:             * cause.toString())</tt> (which typically contains the class and
099:             * detail message of <tt>cause</tt>).
100:             *
101:             * @param  cause  the cause (which is saved for later retrieval by
102:             *                the {@link #getCause()} method).  (A
103:             *                <tt>null</tt> value is permitted, and indicates
104:             *                that the cause is nonexistent or unknown.)
105:             */
106:            public DesktopDataException(Throwable cause) {
107:                super (cause);
108:            }
109:
110:            /**
111:             * Returns the object array of tokens which can be later used to insert in
112:             * localzed messages
113:             *
114:             * @return the tokens as an object array.
115:             */
116:            public Object[] getTokens() {
117:                return tokens;
118:            }
119:        }
ww__w.___j___av__a___2__s.___co__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.