Java Doc for BindingSupportImpl.java in  » Testing » PolePosition-0.20 » com » versant » core » common » 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 » Testing » PolePosition 0.20 » com.versant.core.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.common.BindingSupportImpl

BindingSupportImpl
public class BindingSupportImpl (Code)
The purpose of this class is to encapsulate the Exception throwing.
This is necessary to allow different exception classes for JDO, EJB and other api's
Make sure, that all exceptions are thrown via this facility! (Exceptions include classes, that are JDO-only, like the JDO enhancer.)

This class is intended to be stateless.

With JDO an instance of BindingSupportImpl is directly used. Replacement pattern (incomplete, if not found in list: look here in source code): JDOUserException invalidOperation JDOFatalUserException runtime JDOFatalInternalException internal JDOUnsupportedOptionException unsupported JDOException exception JDOFatalException fatal JDODataStore datastore JDOFatalDataStore fatalDatastore IllegalArgumentException illegalArgument NoSuchElementException noSuchElement IndexOutOfBoundsException indexOutOfBounds UnsupportedOperation unsupportedOperation VersantObjectNotFoundException objectNotFound VersantConcurrentUpdateException concurrentUpdate VersantDetachedFieldAccessException fieldDetached NotImplementedException notImplemented VersantAuthenticationException authentication List of exceptions from the exceptions: (this list should include exceptions, where BindingSupportImpl is not necessary, because they are never user-visible, but always caught internally) TargetLostException (?) ... List of packages, where using BindingSupportImpl is not required: com.versant.core.jdo.tools.enhancer com.versant.core.jdo.jca com.versant.core.jdo.junit com.versant.core.jdo.licensegenerator com.versant.core.jdo.mbean com.versant.core.jdo.tools.workbench
author:
   Christian Romberg




Method Summary
public  RuntimeExceptionarrayIndexOutOfBounds(String msg)
    
public  RuntimeExceptionarrayIndexOutOfBounds(int val)
    
public  RuntimeExceptionconcurrentUpdate(String msg, Object failed)
    
public  RuntimeExceptiondatastore(String msg, Throwable t)
    
public  RuntimeExceptiondatastore(String msg)
    
public  RuntimeExceptionduplicateKey(String msg, Throwable nested, Object failed)
    
public  RuntimeExceptionexception(String msg)
    
public  RuntimeExceptionexception(String msg, Throwable nested)
    
public  RuntimeExceptionexception(String msg, Throwable[] nested)
    
public  RuntimeExceptionexception(String msg, Throwable nested, Object failed)
    
public  RuntimeExceptionfatal(String msg)
    
public  RuntimeExceptionfatal(String msg, Throwable t)
    
public  RuntimeExceptionfatalDatastore(String msg, Throwable t)
    
public  RuntimeExceptionfatalDatastore(String msg)
    
public  RuntimeExceptionfieldDetached()
    
public  ThrowablefindCause(Throwable e)
     Recursively extract the real cause of e if it is wrapping other exceptions.
public  ObjectgetFailedObject(Exception e)
    
public static  BindingSupportImplgetInstance()
    
public  RuntimeExceptionillegalArgument(String msg)
    
public  RuntimeExceptionindexOutOfBounds(String msg)
    
public  RuntimeExceptioninternal(String msg, Throwable cause)
    
public  RuntimeExceptioninternal(String msg, Throwable[] cause)
    
public  RuntimeExceptioninternal(String msg)
    
public  RuntimeExceptioninvalidObjectId(String msg, Throwable cause)
    
public  RuntimeExceptioninvalidOperation(String msg, Throwable cause)
    
public  RuntimeExceptioninvalidOperation(String msg)
    
public  booleanisError(Throwable t)
    
public  booleanisOutOfMemoryError(Throwable t)
    
public  booleanisOwnConcurrentUpdateException(Throwable t)
    
public  booleanisOwnDatastoreException(Throwable t)
    
public  booleanisOwnException(Throwable e)
    
public  booleanisOwnFatalDatastoreException(Throwable t)
    
public  booleanisOwnFatalException(Throwable e)
    
public  booleanisOwnFatalUserException(Throwable e)
    
public  booleanisOwnInternalException(Throwable t)
    
public  booleanisOwnInvalidObjectIdException(Throwable e)
    
public  booleanisOwnObjectNotFoundException(Throwable t)
    
public  booleanisOwnQueryException(Throwable e)
    
public  booleanisOwnUnsupportedException(Throwable t)
    
public  RuntimeExceptionlicense(String msg, Throwable t)
    
public  RuntimeExceptionlockNotGranted(String msg, Throwable[] nested, Object failed)
    
public  RuntimeExceptionnoSuchElement(String msg)
    
public  RuntimeExceptionnotImplemented(String m)
    
public  RuntimeExceptionnullElement(String msg)
    
public  RuntimeExceptionobjectNotEnhanced(Object o)
    
public  RuntimeExceptionobjectNotFound(String msg)
    
public  RuntimeExceptionoptimisticVerification(String msg, Object failed)
    
public  RuntimeExceptionpoolFull(String msg)
    
public  RuntimeExceptionquery(String msg, Throwable cause)
    
public  RuntimeExceptionquery(String msg)
    
public  RuntimeExceptionruntime(String msg)
    
public  RuntimeExceptionruntime(String msg, Throwable e)
    
public  RuntimeExceptionsecurity(String msg)
    
public  RuntimeExceptiontransactionConflict(Object obj)
    
public  RuntimeExceptiontransactionConflict(String msg, Object obj)
    
public  RuntimeExceptionunsupported(String m)
    
public  RuntimeExceptionunsupported()
    
public  RuntimeExceptionunsupportedOperation(String msg)
    



Method Detail
arrayIndexOutOfBounds
public RuntimeException arrayIndexOutOfBounds(String msg)(Code)



arrayIndexOutOfBounds
public RuntimeException arrayIndexOutOfBounds(int val)(Code)



concurrentUpdate
public RuntimeException concurrentUpdate(String msg, Object failed)(Code)



datastore
public RuntimeException datastore(String msg, Throwable t)(Code)



datastore
public RuntimeException datastore(String msg)(Code)



duplicateKey
public RuntimeException duplicateKey(String msg, Throwable nested, Object failed)(Code)



exception
public RuntimeException exception(String msg)(Code)



exception
public RuntimeException exception(String msg, Throwable nested)(Code)



exception
public RuntimeException exception(String msg, Throwable[] nested)(Code)



exception
public RuntimeException exception(String msg, Throwable nested, Object failed)(Code)



fatal
public RuntimeException fatal(String msg)(Code)



fatal
public RuntimeException fatal(String msg, Throwable t)(Code)



fatalDatastore
public RuntimeException fatalDatastore(String msg, Throwable t)(Code)



fatalDatastore
public RuntimeException fatalDatastore(String msg)(Code)



fieldDetached
public RuntimeException fieldDetached()(Code)



findCause
public Throwable findCause(Throwable e)(Code)
Recursively extract the real cause of e if it is wrapping other exceptions.



getFailedObject
public Object getFailedObject(Exception e)(Code)



getInstance
public static BindingSupportImpl getInstance()(Code)



illegalArgument
public RuntimeException illegalArgument(String msg)(Code)



indexOutOfBounds
public RuntimeException indexOutOfBounds(String msg)(Code)



internal
public RuntimeException internal(String msg, Throwable cause)(Code)



internal
public RuntimeException internal(String msg, Throwable[] cause)(Code)



internal
public RuntimeException internal(String msg)(Code)



invalidObjectId
public RuntimeException invalidObjectId(String msg, Throwable cause)(Code)



invalidOperation
public RuntimeException invalidOperation(String msg, Throwable cause)(Code)



invalidOperation
public RuntimeException invalidOperation(String msg)(Code)



isError
public boolean isError(Throwable t)(Code)



isOutOfMemoryError
public boolean isOutOfMemoryError(Throwable t)(Code)



isOwnConcurrentUpdateException
public boolean isOwnConcurrentUpdateException(Throwable t)(Code)



isOwnDatastoreException
public boolean isOwnDatastoreException(Throwable t)(Code)



isOwnException
public boolean isOwnException(Throwable e)(Code)



isOwnFatalDatastoreException
public boolean isOwnFatalDatastoreException(Throwable t)(Code)



isOwnFatalException
public boolean isOwnFatalException(Throwable e)(Code)



isOwnFatalUserException
public boolean isOwnFatalUserException(Throwable e)(Code)



isOwnInternalException
public boolean isOwnInternalException(Throwable t)(Code)



isOwnInvalidObjectIdException
public boolean isOwnInvalidObjectIdException(Throwable e)(Code)



isOwnObjectNotFoundException
public boolean isOwnObjectNotFoundException(Throwable t)(Code)



isOwnQueryException
public boolean isOwnQueryException(Throwable e)(Code)



isOwnUnsupportedException
public boolean isOwnUnsupportedException(Throwable t)(Code)



license
public RuntimeException license(String msg, Throwable t)(Code)



lockNotGranted
public RuntimeException lockNotGranted(String msg, Throwable[] nested, Object failed)(Code)



noSuchElement
public RuntimeException noSuchElement(String msg)(Code)



notImplemented
public RuntimeException notImplemented(String m)(Code)



nullElement
public RuntimeException nullElement(String msg)(Code)



objectNotEnhanced
public RuntimeException objectNotEnhanced(Object o)(Code)



objectNotFound
public RuntimeException objectNotFound(String msg)(Code)



optimisticVerification
public RuntimeException optimisticVerification(String msg, Object failed)(Code)



poolFull
public RuntimeException poolFull(String msg)(Code)



query
public RuntimeException query(String msg, Throwable cause)(Code)



query
public RuntimeException query(String msg)(Code)



runtime
public RuntimeException runtime(String msg)(Code)



runtime
public RuntimeException runtime(String msg, Throwable e)(Code)



security
public RuntimeException security(String msg)(Code)



transactionConflict
public RuntimeException transactionConflict(Object obj)(Code)



transactionConflict
public RuntimeException transactionConflict(String msg, Object obj)(Code)



unsupported
public RuntimeException unsupported(String m)(Code)



unsupported
public RuntimeException unsupported()(Code)



unsupportedOperation
public RuntimeException unsupportedOperation(String msg)(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.