Java Doc for ParseException.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » rdf » arp » 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 » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.rdf.arp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.xml.sax.SAXParseException
   com.hp.hpl.jena.rdf.arp.ParseException

ParseException
public class ParseException extends SAXParseException implements ARPErrorNumbers(Code)
An exception during the RDF processing of ARP. Note: it is distinguished from an XML related exception from Xerces because while both are SAXParseException's, the latter are not com.hp.hpl.jena.arp.ParseException's.


Field Summary
final  intid
    

Constructor Summary
protected  ParseException(int id, Location where, String msg)
    
public  ParseException(int id, Location where, Exception e)
    

Method Summary
public static  interrorCode(String upper)
     The integer code associated with a string from ARPErrorNumbers .
Parameters:
  upper - A field name from ARPErrorNumbers, (in upper case).
public static  StringerrorCodeName(int errNo)
     The string from ARPErrorNumbers associated with an integer error code
Parameters:
  errNo - An error code from ARPErrorNumbers.
public static  StringformatMessage(Exception e)
     Calls e.getMessage() and also accesses line and column information for SAXParseException's.
public  intgetErrorNumber()
     The error number (from ARPErrorNumbers ) related to this exception.
public  StringgetMessage()
     The message without location information.
public  booleanisPromoted()
    
public  booleanisSyntaxError()
     Is this error an RDF syntax error.
public  voidpromote()
     Intended for use within an RDFErrorHandler.
 SAXParseExceptionrootCause()
    

Field Detail
id
final int id(Code)




Constructor Detail
ParseException
protected ParseException(int id, Location where, String msg)(Code)



ParseException
public ParseException(int id, Location where, Exception e)(Code)




Method Detail
errorCode
public static int errorCode(String upper)(Code)
The integer code associated with a string from ARPErrorNumbers .
Parameters:
  upper - A field name from ARPErrorNumbers, (in upper case). The integer value or -1, if none.



errorCodeName
public static String errorCodeName(int errNo)(Code)
The string from ARPErrorNumbers associated with an integer error code
Parameters:
  errNo - An error code from ARPErrorNumbers. The field name from ARPErrorNumbers with this error number, or null



formatMessage
public static String formatMessage(Exception e)(Code)
Calls e.getMessage() and also accesses line and column information for SAXParseException's. e.getMessage() possibly prepended by error location information.
Parameters:
  e - The exception to describe.



getErrorNumber
public int getErrorNumber()(Code)
The error number (from ARPErrorNumbers ) related to this exception. The error number.



getMessage
public String getMessage()(Code)
The message without location information. Use either the formatMessage method, or the SAXParseException interface, to access the location information. The exception message.



isPromoted
public boolean isPromoted()(Code)



isSyntaxError
public boolean isSyntaxError()(Code)
Is this error an RDF syntax error. A syntax error indicates that well-formed XML, uses RDF properties and attributes, and whitespace and XML elements, in a way that does not conform with the RDF/XML Syntax (Revised) specification. (Currently most such errors have code ARPErrorNumbers.ERR_SYNTAX_ERROR , but this may change in the future). True if this is a syntax error



promote
public void promote()(Code)
Intended for use within an RDFErrorHandler. This method is untested. Marks the exception to be promoted to be thrown from the parser's entry method.



rootCause
SAXParseException rootCause()(Code)



Methods inherited from org.xml.sax.SAXParseException
public int getColumnNumber()(Code)(Java Doc)
public int getLineNumber()(Code)(Java Doc)
public String getPublicId()(Code)(Java Doc)
public String getSystemId()(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.