Java Doc for DOMException.java in  » IDE-Netbeans » visualweb.api.designer » org » w3c » dom » 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 » IDE Netbeans » visualweb.api.designer » org.w3c.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.w3c.dom.DOMException

All known Subclasses:   org.w3c.tidy.DOMExceptionImpl,
DOMException
public class DOMException extends RuntimeException (Code)
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable). In general, DOM methods return specific error values in ordinary processing situations, such as out-of-bound errors when using NodeList.

Implementations should raise other exceptions under other circumstances. For example, implementations should raise an implementation-dependent exception if a null argument is passed.

Some languages and object systems do not support the concept of exceptions. For such systems, error conditions may be indicated using native error reporting mechanisms. For some bindings, for example, methods may return error codes similar to those listed in the corresponding method descriptions.

See also the Document Object Model (DOM) Level 2 Core Specification.



Field Summary
final public static  shortDOMSTRING_SIZE_ERR
    
final public static  shortHIERARCHY_REQUEST_ERR
    
final public static  shortINDEX_SIZE_ERR
    
final public static  shortINUSE_ATTRIBUTE_ERR
    
final public static  shortINVALID_ACCESS_ERR
     If a parameter or an operation is not supported by the underlying object.
final public static  shortINVALID_CHARACTER_ERR
     If an invalid or illegal character is specified, such as in a name.
final public static  shortINVALID_MODIFICATION_ERR
     If an attempt is made to modify the type of the underlying object.
final public static  shortINVALID_STATE_ERR
     If an attempt is made to use an object that is not, or is no longer, usable.
final public static  shortNAMESPACE_ERR
     If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
final public static  shortNOT_FOUND_ERR
    
final public static  shortNOT_SUPPORTED_ERR
     If the implementation does not support the requested type of object or operation.
final public static  shortNO_DATA_ALLOWED_ERR
    
final public static  shortNO_MODIFICATION_ALLOWED_ERR
    
final public static  shortSYNTAX_ERR
     If an invalid or illegal string is specified.
final public static  shortWRONG_DOCUMENT_ERR
    
public  shortcode
    

Constructor Summary
public  DOMException(short code, String message)
    


Field Detail
DOMSTRING_SIZE_ERR
final public static short DOMSTRING_SIZE_ERR(Code)
If the specified range of text does not fit into a DOMString



HIERARCHY_REQUEST_ERR
final public static short HIERARCHY_REQUEST_ERR(Code)
If any node is inserted somewhere it doesn't belong



INDEX_SIZE_ERR
final public static short INDEX_SIZE_ERR(Code)
If index or size is negative, or greater than the allowed value



INUSE_ATTRIBUTE_ERR
final public static short INUSE_ATTRIBUTE_ERR(Code)
If an attempt is made to add an attribute that is already in use elsewhere



INVALID_ACCESS_ERR
final public static short INVALID_ACCESS_ERR(Code)
If a parameter or an operation is not supported by the underlying object.
since:
   DOM Level 2



INVALID_CHARACTER_ERR
final public static short INVALID_CHARACTER_ERR(Code)
If an invalid or illegal character is specified, such as in a name. See production 2 in the XML specification for the definition of a legal character, and production 5 for the definition of a legal name character.



INVALID_MODIFICATION_ERR
final public static short INVALID_MODIFICATION_ERR(Code)
If an attempt is made to modify the type of the underlying object.
since:
   DOM Level 2



INVALID_STATE_ERR
final public static short INVALID_STATE_ERR(Code)
If an attempt is made to use an object that is not, or is no longer, usable.
since:
   DOM Level 2



NAMESPACE_ERR
final public static short NAMESPACE_ERR(Code)
If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
since:
   DOM Level 2



NOT_FOUND_ERR
final public static short NOT_FOUND_ERR(Code)
If an attempt is made to reference a node in a context where it does not exist



NOT_SUPPORTED_ERR
final public static short NOT_SUPPORTED_ERR(Code)
If the implementation does not support the requested type of object or operation.



NO_DATA_ALLOWED_ERR
final public static short NO_DATA_ALLOWED_ERR(Code)
If data is specified for a node which does not support data



NO_MODIFICATION_ALLOWED_ERR
final public static short NO_MODIFICATION_ALLOWED_ERR(Code)
If an attempt is made to modify an object where modifications are not allowed



SYNTAX_ERR
final public static short SYNTAX_ERR(Code)
If an invalid or illegal string is specified.
since:
   DOM Level 2



WRONG_DOCUMENT_ERR
final public static short WRONG_DOCUMENT_ERR(Code)
If a node is used in a different document than the one that created it (that doesn't support it)



code
public short code(Code)




Constructor Detail
DOMException
public DOMException(short code, String message)(Code)






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.