Java Doc for NonPortableReason.java in  » Net » Terracotta » com » tc » util » 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 » Net » Terracotta » com.tc.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tc.util.NonPortableReason

NonPortableReason
public class NonPortableReason implements Serializable(Code)
Encapsulate why something is non-portable and build nice error messages for printing when that occurs.


Field Summary
final public static  byteCLASS_NOT_ADAPTABLE
    
final public static  byteCLASS_NOT_INCLUDED_IN_CONFIG
    
final public static  byteCLASS_NOT_IN_BOOT_JAR
    
final public static  byteSUBCLASS_OF_LOGICALLY_MANAGED_CLASS
    
final public static  byteSUPER_CLASS_NOT_ADAPTABLE
    
final public static  byteSUPER_CLASS_NOT_INSTRUMENTED
    
final public static  byteTEST_REASON
    
final public static  byteUNDEFINED
    

Constructor Summary
public  NonPortableReason(Class clazz, byte reasonCode)
    
public  NonPortableReason(String className, byte reasonCode)
    

Method Summary
public  voidaccept(NonPortableReasonFormatter formatter)
     Accept a formatter for message formatting.
public  voidaddDetail(String label, String value)
    
public  voidaddErroneousSuperClass(Class superClass)
    
public  StringgetClassName()
    
public synchronized  StringgetDetailedReason()
    
public  ListgetErroneousBootJarSuperClasses()
    
public  ListgetErroneousSuperClasses()
    
public synchronized  StringgetInstructions()
    
public  StringgetMessage()
    
public  bytegetReason()
    
public  StringgetUltimateNonPortableFieldName()
    
public  booleanhasUltimateNonPortableFieldName()
     Check whether this reason knows the field name referring to the non-portable object.
public  voidsetMessage(String msg)
    
public  voidsetUltimateNonPortableFieldName(String name)
     Set the name of the field holding the nonportable object.
public  StringtoString()
    

Field Detail
CLASS_NOT_ADAPTABLE
final public static byte CLASS_NOT_ADAPTABLE(Code)



CLASS_NOT_INCLUDED_IN_CONFIG
final public static byte CLASS_NOT_INCLUDED_IN_CONFIG(Code)



CLASS_NOT_IN_BOOT_JAR
final public static byte CLASS_NOT_IN_BOOT_JAR(Code)



SUBCLASS_OF_LOGICALLY_MANAGED_CLASS
final public static byte SUBCLASS_OF_LOGICALLY_MANAGED_CLASS(Code)



SUPER_CLASS_NOT_ADAPTABLE
final public static byte SUPER_CLASS_NOT_ADAPTABLE(Code)



SUPER_CLASS_NOT_INSTRUMENTED
final public static byte SUPER_CLASS_NOT_INSTRUMENTED(Code)



TEST_REASON
final public static byte TEST_REASON(Code)



UNDEFINED
final public static byte UNDEFINED(Code)




Constructor Detail
NonPortableReason
public NonPortableReason(Class clazz, byte reasonCode)(Code)

Parameters:
  clazz - The class that is non-portable
Parameters:
  reasonCode - The reason why it is non-portable



NonPortableReason
public NonPortableReason(String className, byte reasonCode)(Code)

Parameters:
  className - The class that is non-portable
Parameters:
  reasonCode - The reason why it is non-portable




Method Detail
accept
public void accept(NonPortableReasonFormatter formatter)(Code)
Accept a formatter for message formatting. This method will walk the reason text, details, and instructions.
Parameters:
  formatter - Formatter to help formatting the reason



addDetail
public void addDetail(String label, String value)(Code)
Add detail to the reason
Parameters:
  label - The label
Parameters:
  value - The value



addErroneousSuperClass
public void addErroneousSuperClass(Class superClass)(Code)
Add erroneous super class
Parameters:
  superClass - Super class that is non-portable



getClassName
public String getClassName()(Code)
Class name



getDetailedReason
public synchronized String getDetailedReason()(Code)
Detailed reason why something is non-portable



getErroneousBootJarSuperClasses
public List getErroneousBootJarSuperClasses()(Code)
All erroneous super classes in the boot jar



getErroneousSuperClasses
public List getErroneousSuperClasses()(Code)
All erroneous super classes not in the boot jar



getInstructions
public synchronized String getInstructions()(Code)
Instructions on how to correct the problem



getMessage
public String getMessage()(Code)
The message



getReason
public byte getReason()(Code)
Reason code



getUltimateNonPortableFieldName
public String getUltimateNonPortableFieldName()(Code)
the field holding the non-portable object.



hasUltimateNonPortableFieldName
public boolean hasUltimateNonPortableFieldName()(Code)
Check whether this reason knows the field name referring to the non-portable object. True if has field name



setMessage
public void setMessage(String msg)(Code)

Parameters:
  msg - The message



setUltimateNonPortableFieldName
public void setUltimateNonPortableFieldName(String name)(Code)
Set the name of the field holding the nonportable object.
Parameters:
  name - Name of the field



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.