Java Doc for XAException.java in  » Apache-Harmony-Java-SE » javax-package » javax » transaction » xa » 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 » Apache Harmony Java SE » javax package » javax.transaction.xa 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         javax.transaction.xa.XAException

XAException
public class XAException extends Exception implements Serializable(Code)
An XAException is an exception thrown by a Resource Manager to inform the Transaction Manager of an error which has occurred in relation to a transaction branch. In addition to the usual exception message, an XAException carries an errorCode value which provides information about the error, as defined by the series of integer values defined by the XAException class.


Field Summary
final public static  intXAER_ASYNC
    
final public static  intXAER_DUPID
    
final public static  intXAER_INVAL
    
final public static  intXAER_NOTA
    
final public static  intXAER_OUTSIDE
     Work is being done by the Resource Manager outside the boundaries of a global transaction.
final public static  intXAER_PROTO
    
final public static  intXAER_RMERR
    
final public static  intXAER_RMFAIL
    
final public static  intXA_HEURCOM
    
final public static  intXA_HEURHAZ
    
final public static  intXA_HEURMIX
    
final public static  intXA_HEURRB
    
final public static  intXA_NOMIGRATE
    
final public static  intXA_RBBASE
    
final public static  intXA_RBCOMMFAIL
    
final public static  intXA_RBDEADLOCK
    
final public static  intXA_RBEND
    
final public static  intXA_RBINTEGRITY
    
final public static  intXA_RBOTHER
    
final public static  intXA_RBPROTO
    
final public static  intXA_RBROLLBACK
    
final public static  intXA_RBTIMEOUT
    
final public static  intXA_RBTRANSIENT
    
final public static  intXA_RDONLY
    
final public static  intXA_RETRY
    
public  interrorCode
    

Constructor Summary
public  XAException()
    
public  XAException(String theMessage)
    
public  XAException(int errorCode)
    


Field Detail
XAER_ASYNC
final public static int XAER_ASYNC(Code)
Code which means that there is already an asynchronous operation outstanding



XAER_DUPID
final public static int XAER_DUPID(Code)
Code which means that the XID already exists



XAER_INVAL
final public static int XAER_INVAL(Code)
Code which means that invalid arguments were supplied



XAER_NOTA
final public static int XAER_NOTA(Code)
Code which means that the XID is not valid



XAER_OUTSIDE
final public static int XAER_OUTSIDE(Code)
Work is being done by the Resource Manager outside the boundaries of a global transaction.



XAER_PROTO
final public static int XAER_PROTO(Code)
Code which means that the method was invoked in an improper context



XAER_RMERR
final public static int XAER_RMERR(Code)
Code which means that a Resource Manager error has occurred for the transaction branch



XAER_RMFAIL
final public static int XAER_RMFAIL(Code)
Code which means that the Resource Manager is unavailable



XA_HEURCOM
final public static int XA_HEURCOM(Code)
Code which means that the transaction branch has been heuristically committed



XA_HEURHAZ
final public static int XA_HEURHAZ(Code)
Code which means that the transaction branch may have been heuristically completed



XA_HEURMIX
final public static int XA_HEURMIX(Code)
Code which means that the transaction branch has been heuristically committed and rolled back



XA_HEURRB
final public static int XA_HEURRB(Code)
Code which means that the transaction branch has been heuristically rolled back



XA_NOMIGRATE
final public static int XA_NOMIGRATE(Code)
Code which means that resumption must occur where the suspension occurred



XA_RBBASE
final public static int XA_RBBASE(Code)
Code which contains the inclusive lower bound of the rollback error codes



XA_RBCOMMFAIL
final public static int XA_RBCOMMFAIL(Code)
Code which means that rollback was caused by a communication failure



XA_RBDEADLOCK
final public static int XA_RBDEADLOCK(Code)
Code which means that a failure occurred because a deadlock was detected



XA_RBEND
final public static int XA_RBEND(Code)
Code which contains the inclusive upper bound of the rollback error codes



XA_RBINTEGRITY
final public static int XA_RBINTEGRITY(Code)
Code which means that a condition was detected than implies a violation of the integrity of the resource



XA_RBOTHER
final public static int XA_RBOTHER(Code)
Code which means that the Resource Manager rolled back the transaction branch for a reason not separately listed



XA_RBPROTO
final public static int XA_RBPROTO(Code)
Code which means that a protocol error occurred in the Resource Manager



XA_RBROLLBACK
final public static int XA_RBROLLBACK(Code)
Code which means that the rollback occurred for an unspecified reason



XA_RBTIMEOUT
final public static int XA_RBTIMEOUT(Code)
Code which means that a transaction branch took too long



XA_RBTRANSIENT
final public static int XA_RBTRANSIENT(Code)
Code which means that the caller may retry the transaction branch



XA_RDONLY
final public static int XA_RDONLY(Code)
Code which means that the transaction branch was read only and has been committed



XA_RETRY
final public static int XA_RETRY(Code)
Code which means that the method returned with no effect and can be reissued



errorCode
public int errorCode(Code)
The errorCode which details the error that has occurred




Constructor Detail
XAException
public XAException()(Code)
Creates an XAException with no message or error code



XAException
public XAException(String theMessage)(Code)
Creates an XAException with a supplied message and no error code
Parameters:
  theMessage - a String containing the exception message



XAException
public XAException(int errorCode)(Code)
Creates an XAException with a specified error code but no message
Parameters:
  errorCode - an integer containing one of the XAException errorCode values





Methods inherited from java.lang.Throwable
native public synchronized Throwable fillInStackTrace()(Code)(Java Doc)
public Throwable getCause()(Code)(Java Doc)
public String getLocalizedMessage()(Code)(Java Doc)
public String getMessage()(Code)(Java Doc)
public StackTraceElement[] getStackTrace()(Code)(Java Doc)
public synchronized Throwable initCause(Throwable cause)(Code)(Java Doc)
public void printStackTrace()(Code)(Java Doc)
public void printStackTrace(PrintStream s)(Code)(Java Doc)
public void printStackTrace(PrintWriter s)(Code)(Java Doc)
public void setStackTrace(StackTraceElement[] stackTrace)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.